Measure how far apart two colors are in a selected color space.
Two colors are converted into a selected color space and the distance between their coordinates is calculated, commonly with Euclidean distance in RGB or a perceptual space such as CIELAB. The metric determines what close means, so distances from different spaces are not comparable.
Input1: #FF0000 Input2: #0000FF
Original: Color 1: #FF0000 Modified: Color 2: #0000FF Delta E: 176.33 Perception: Very different
Palette cleanup, image clustering, and design-token audits measure color similarity.