Skip to content

Color Lighten ​

Last updated View as Markdown

You get the color with its lightness raised by the given amount, from 0 to 100. With a color object, you get a color object. With a hex string, you get a string. A string with transparency is printed as rgba(). A color object with transparency is printed as an 8-digit hex value.

Example ​

liquid
{{ '#7ab55c' | color_lighten: 30 }}

Output

html
#d0e5c5