Search AnyKit Tools

Type a tool name, tag, or category to quickly open any tool instantly.

AnyKit
AnyKit App

Color Distance

Calculate color distances using Euclidean, Manhattan, and Delta E metrics

Color 1
Color 2
Actions
Distance Results
Euclidean0.00
Manhattan0.00
Delta E (CIE76)0.00

About the Color Distance

Compare two colours numerically. Enter two hex codes and see three distance measures — perceptual Delta E computed in CIE LAB space, plus straightforward Euclidean and Manhattan distances in RGB — alongside a swatch preview. Use it to check whether two brand colours are distinguishable, whether a compressed image shifted a colour, or how far a substitute is from a reference.

The three distance measures

  • Delta E (ΔE, CIE76) — the distance between the two colours in the LAB colour space, which is designed so equal distances look equally different to the human eye. This is the number colour scientists, print shops and brand teams use.
  • Euclidean RGB — the straight-line distance between the two colours' R, G, B values: √((R₁−R₂)² + (G₁−G₂)² + (B₁−B₂)²). Simple and fast, but does not match perception — a small change in blue looks different from the same numeric change in green.
  • Manhattan RGB — the sum of the absolute channel differences |R₁−R₂| + |G₁−G₂| + |B₁−B₂|. Useful as a quick threshold in image-processing code.

How to read a Delta E value

  • ΔE < 1 — not perceptible by human eyes.
  • ΔE 1–2 — perceptible only through close observation; acceptable for most print and screen work.
  • ΔE 2–10 — perceptible at a glance; typical tolerance for consumer products is 2–3.
  • ΔE 11–49 — colours are clearly different but still in the same family.
  • ΔE ≥ 100 — the colours are opposites (black vs white is about 100).

Practical uses

  • Brand compliance — check that a printed or screen colour is within tolerance of the official swatch.
  • Palette design — make sure adjacent colours in a chart or map are distinguishable (aim for ΔE above 10–15).
  • Image processing — pick a threshold for "same colour" when clustering pixels or removing backgrounds.
  • Compression QA — measure how much JPEG or video encoding shifted a key colour.
  • Accessibility — pair with the Contrast Checker; distance and luminance contrast are different things and both matter.

How to use the Color Distance

  1. 1Enter the first colour. Type or pick a hex value for the reference colour.
  2. 2Enter the second colour. Type or pick the colour to compare against it.
  3. 3Read the distances. Delta E, Euclidean and Manhattan values appear instantly with a side-by-side preview.

Frequently asked questions

Which Delta E formula does this use?
CIE76 — the Euclidean distance in LAB space, computed via sRGB → XYZ (D65) → LAB. It is the classic, widely understood formula. CIEDE2000 refines it for very saturated colours and small differences; for most design decisions the two agree on whether colours are "close".
Why do two colours with a large RGB distance have a small Delta E?
RGB is not perceptually uniform. Large numeric changes in some regions (very dark or very saturated colours) produce small visible differences, and vice versa. Delta E corrects for that, which is why it is preferred.
What Delta E is acceptable for print?
Commercial print typically targets ΔE ≤ 2 against the proof; premium packaging and brand-critical work may demand ≤ 1.
Can I compare colours in RGB or HSL instead of hex?
Convert them to hex first with the Color Converter, then paste both values here.
All Color Tools