Function: getLightness()
ts
function getLightness(color): number;Defined in: getLightness.ts:9
Get the lightness value for a color.
Parameters
| Parameter | Type | Description |
|---|---|---|
color | Color | the color to get the value from |
Returns
number
the lightness value