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