@tempots/color
HSL.(constructor)
Constructs a new instance of the HSL
class
Signature:
constructor(hue: number, saturation?: number, lightness?: number);
Parameters
Parameter |
Type |
Description |
---|---|---|
hue |
number |
Angle in degrees (0-360) |
saturation |
number |
(Optional) Percentage (0-100) |
lightness |
number |
(Optional) Percentage (0-100) |