Function: adjustLightness()
adjustLightness(
color
,amount
):Color
Adjusts the lightness of a color.
Parameters
Parameter | Type | Description |
---|---|---|
color | Color | The color to adjust. |
amount | number | The amount to adjust by, from -100 to 100. |
Returns
A new Color instance with adjusted lightness.
Defined in
manipulation/components/lightness.ts:10