Skip to content

Color Extract ​

Last updated View as Markdown

You get the value of one attribute of a color. The attributes are red, green and blue (0 to 255), alpha (0 to 1), hue (0 to 360), saturation and lightness (0 to 100).

Example ​

liquid
{{ '#7ab55c' | color_extract: 'red' }}

Output

html
122