Skip to content

Color Difference ​

Last updated View as Markdown

You get the sum of the differences between the red, green and blue values of two colors, from 0 to 765.

Example ​

liquid
{{ '#ff0000' | color_difference: '#abcdef' }}

Output

html
528