An immutable object which represents a color in a Microsoft Excel workbook.

WorkbookColorInfo

new WorkbookColorInfo(): WorkbookColorInfo

Returns WorkbookColorInfo

$t: Type

Gets the base color associated of the [[WorkbookColorInfo]].

get color(): any

Returns any

Gets the value which indicates whether the [[WorkbookColorInfo]] is automatic, or the window text system color.

get isAutomatic(): boolean

Returns boolean

Gets the base theme color associated of the [[WorkbookColorInfo]].

get themeColorType(): WorkbookThemeColorType

Returns WorkbookThemeColorType

Gets the to apply to the base color, from -1.0 (100% darken) to 1.0 (100% lighten).

get tint(): number

Returns number

Returns the associated [[WorkbookColorTransform]], or null if this instance is not associated with a transform.

get transform(): WorkbookColorTransform

Returns WorkbookColorTransform

Gets the automatic color, which is the window text system color.

get automatic(): WorkbookColorInfo

Returns WorkbookColorInfo

Determines whether the [[WorkbookColorInfo]] is equal to the specified object.

equals(obj: any): boolean

Parameters

  • obj: any

    The object to test for equality.

Returns boolean

Gets the hash code for the [[WorkbookColorInfo]].

getHashCode(): number

Returns number

Gets the actual color which will be seen in Microsoft Excel if the [[WorkbookColorInfo]] is used.

getResolvedColor(): string

Returns string

Gets the string representation of the [[WorkbookColorInfo]].

toString(): string

Returns string