Skip to main content

XlColor Methods

Represents a color used in the spreadsheet document.
Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current XlColor instance.
FromArgb(Byte, Byte, Byte) static Creates the XlColor object from the specified 8-bit color values (red, green, and blue).
FromArgb(Int32) static Creates the XlColor object from a 32-bit ARGB value.
FromTheme(XlThemeColor, Double) static Creates the XlColor object from the theme color using the specified saturation value.
GetHashCode() Gets the hash code (a number) that corresponds to the value of the current XlColor object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Converts the XlColor object to a human-readable string.
See Also