Skip to main content

XlColor Properties

Represents a color used in the spreadsheet document.
Name Description
Auto static Gets an XlColor object whose XlColor.ColorType value is XlColorType.Auto.
ColorIndex Gets the indexed color value. Only used for backwards compatibility.
ColorType Gets the type of the current color.
DefaultBackground static Returns the XlColor object that represents the default background color with the color index 65.
DefaultForeground static Returns the XlColor object that represents the default foreground color with the color index 64.
Empty static Gets an XlColor object whose XlColor.ColorType value is XlColorType.Empty.
IsAutoOrEmpty Gets a value indicating whether the current color is automatic or empty.
IsEmpty Gets a value indicating whether the current color is empty.
Rgb Gets an ARGB value of the current color.
ThemeColor Gets the theme color based on which the XlColor object is created.
Tint Gets the tint value applied to the theme color.
See Also