@tempots/color
LAB.(constructor)
Constructs an LAB color instance.
Signature:
constructor(lightness: number, a: number, b: number);
Parameters
Parameter |
Type |
Description |
---|---|---|
lightness |
number |
Lightness in range (0, 100) |
a |
number |
usually in the range (~-150, ~+150) - not clamped |
b |
number |
usually in the range (~-150, ~+150) - not clamped |