LIGHTEN
Creates a new color from the specified color by increasing the lightness in the HSL color space.
Syntax
=LIGHTEN(color, amount)
Arguments
| Argument | Type | Description |
|---|---|---|
| color | Color | The color to lighten. |
| amount | Number | The percentage amount to lighten the given color, from 0 to 1. |
Examples
=LIGHTEN("#000000", 0.5)→#808080ff
Increases the lightness of the color #000000ff by 50%.
=LIGHTEN(RGB(0, 255, 0), 0.5)→#66ff66ff
Increases the lightness of the color #00ff00ff (green) by 50%.
Updated over 1 year ago