Function: desaturate()
ts
function desaturate(color, amount): Color;Defined in: desaturate.ts:12
Makes the provided color less saturated by the specified amount.
Parameters
| Parameter | Type | Description |
|---|---|---|
color | Color | the color to desaturate. |
amount | number | the amount to desaturate the color. |
Returns
the new desaturated color