Function: adjustSaturation()
adjustSaturation(
color
,amount
):Color
Adjusts the saturation 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 saturation.
Defined in
manipulation/components/saturation.ts:10