Distance Metrics
Euclidean Distance
Standard geometric distance in RGB space
√((r₁-r₂)² + (g₁-g₂)² + (b₁-b₂)²)Max: 441.67Manhattan Distance
Sum of absolute differences in RGB values
|r₁-r₂| + |g₁-g₂| + |b₁-b₂|Max: 765Chebyshev Distance
Maximum difference in any RGB channel
max(|r₁-r₂|, |g₁-g₂|, |b₁-b₂|)Max: 255Delta E (CIE76)
Perceptual difference in LAB color space
√((L₁-L₂)² + (a₁-a₂)² + (b₁-b₂)²)Max: 100Perceptual Distance
Weighted RGB distance based on human perception
√(2(r₁-r₂)² + 4(g₁-g₂)² + 3(b₁-b₂)²)Max: 509.9How to Interpret
- 0-1: Not perceptible
- 1-2: Barely perceptible
- 2-5: Perceptible
- 5-10: Obvious difference
- 10+: Different colors
Euclidean & Manhattan measure raw distance in RGB space. Useful for algorithms but less accurate for how humans actually see color differences.
For most design and quality control tasks, rely on Delta E as it best matches human visual perception.