Skip to main content

delta_e

Function delta_e 

Source
pub fn delta_e(a: Color, b: Color, vision: Vision) -> f32
Expand description

The perceptual distance between two colours, as seen with vision: the Euclidean distance in OKLab, times 100 (ΔE OK). About 2 is the smallest difference seen side by side; categorical palettes aim for 15 and more between neighbours.