Methods
asCSS
- asCSS(darkMode?, alpha?): string
Parameters
Optional
darkMode: booleanOptional
alpha: boolean
Returns string
isEqual
- isEqual(other): boolean
Returns boolean
isImmutable
- isImmutable(): true
Returns true
toHSLA
- toHSLA(darkMode?): HSLAColor
Parameters
Optional
darkMode: boolean
toRGBA
- toRGBA(darkMode?): RGBAColor
Parameters
Optional
darkMode: boolean
toString
- toString(): string
Returns string
A color that has been adjusted.