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

LIGHTEN

Creates a new color from the specified color by increasing the lightness in the HSL color space.

Syntax

=LIGHTEN(color, amount)

Arguments

ArgumentTypeDescription
colorColorThe color to lighten.
amountNumberThe 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%.