You get the sum of the differences between the red, green and blue values of two colors, from 0 to 765.
{{ '#ff0000' | color_difference: '#abcdef' }}
Output
528