# color/desaturate Decrease saturation in HSL space by `amount` (0-1, default 0.1). Lightness, hue and alpha are preserved. ## Syntax
[color/desaturate $color $amount]
## Examples
[color/desaturate "#ff0000" 0.5]    # "#bf4040"
[color/desaturate "#ff0000" 1.0]    # "#808080" — same as color/grayscale
## Returns `"#rrggbb"` hex string, or `"#rrggbbaa"` when the input is translucent. nil when the color is unparseable. ## See Also `color/saturate`, `color/grayscale`