Type Alias: HSL
HSL:
object
Represents a color in the HSL color space. 'h' (hue) should be between 0 and 360. 's' (saturation) and 'l' (lightness) should be between 0 and 100. The alpha channel 'a' is optional and should be between 0 and 1 if provided.
Type declaration
Name | Type | Defined in |
---|---|---|
a ? | number | types.ts:25 |
h | number | types.ts:22 |
l | number | types.ts:24 |
s | number | types.ts:23 |
Defined in
types.ts:21