These docs are for v1.0. Click to read the latest docs for v1.2.

DESATURATE

Creates a new color from the specified color by decreasing the saturation in the HSL color space.

Syntax

=DESATURATE(color, amount)

Arguments

ArgumentTypeDescription
colorColorThe color to desaturate.
amountNumberThe percentage amount to desaturate the given color, from 0 to 1.

Examples

=DESATURATE("#bf4040", 0.3)#996666ff
Desaturate the color #bf4040ff by 20%.