Class: Color
Defined in: Color.ts:17
Implements
Constructors
Constructor
ts
new Color(color?): Color;Defined in: Color.ts:28
Parameters
| Parameter | Type |
|---|---|
color? | | string | RGBColor | HSLColor |
Returns
Color
Properties
hex
ts
hex: string;Defined in: Color.ts:18
Implementation of
hsl
ts
hsl: HSLColor;Defined in: Color.ts:20
Implementation of
rgb
ts
rgb: RGBColor;Defined in: Color.ts:19