Skip to main content

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

NameTypeDefined in
anumbertypes.ts:25
hnumbertypes.ts:22
lnumbertypes.ts:24
snumbertypes.ts:23

Defined in

types.ts:21