Function chroma_rust::distance

source ·
pub fn distance(c1: &Color, c2: &Color, mode: Option<&str>) -> f64
Expand description

calc simple Euclidean distance between two colors with the same mode

the default mode is lab