DARKEN
Creates a new color from the specified color by decreasing the lightness in the HSL color space.
Syntax
=DARKEN(color, amount)
Arguments
| Argument | Type | Description | 
|---|---|---|
| color | Color | The color to darken. | 
| amount | Number | The percentage amount to darken the given color, from 0 to 1. | 
Examples
=DARKEN("#ffffff", 0.5)→#808080ff
Darkens the color white by 50%.
=DARKEN(RGB(0, 255, 0), 0.2)→#009900ff
Darkens the color green by 20%.
Updated over 1 year ago