Optional
schemeLookup: SchemeLookupOptional
indexedLookup: IndexedLookupFor runtime type checking.
Returns a new color that is derived from this color with the adjustments applied.
An array of Adjustments
Return the color adjustments.
The base value for the color before adjustments.
Returns true if the other color will resolve to the same rgb values as this color.
The other color to compare.
Returns the color as either 'black or white' depending on the luminance.
The threshold to determine if the color is dark or light.
Return a string usable with CSS color properties.
If true
dark colors will be used.
If true
alpha will be applied.
Return a HEX with adjustments applied.
Return as HSLA with adjustments applied.
Return as RGBA with adjustments applied.
Static
getReturns the default color scheme lookup that Colors will use if none is provided.
Capabilities for working with colors.
Advanced color customization and compatibility with CSS and Office color schemes.
Key features include:
See
IColor