Perceptual uniformity — where it appears
Named by 29 essays across 4 fields — each of them below, with the objects they name alongside it.
MacAdam measured it
In a perceptually uniform space the just-noticeable-difference contours would be circles of equal size. MacAdam's ellipses are neither, by a factor of eighty — and transforming them into each candidate space settles which spaces improved matters and by how much.
The midpoint is not half
Code 128 sits halfway along the sRGB scale and carries about a fifth of white's luminance. Half the luminance is code 188. Almost every gradient, blur and resize on the web gets this wrong, and the errors are visible once known.
How many colours are there
Sixteen point seven million counts code values in a file format. Ten million distinguishable colours is a volume divided by the size of a just-noticeable difference — and the two difference formulae this site implements disagree about that size by a factor of nearly five.
Where the formula is not smooth
A colour difference formula is a distance, and a distance ought to vary gently. CIEDE2000's does not everywhere — it carries a hue-rotation term with a hard edge in it, and the discontinuity sits where a great many industrial samples live.
A gradient is a path
Two colours fix the ends of a blend and nothing else. The middle is decided by the space the interpolation happens in, and four spaces in daily use put the halfway point of one ordinary gradient as much as thirty-seven units of colour difference apart.
A difference is not a distance
Two earlier essays here said that CIEDE2000 violates the triangle inequality and left it at that. Searching for the violation finds a detour half the length of the direct route, a smaller one inside a five-unit ball, and a second defect nobody mentions — ΔE94 is not even symmetric.
Which of two is worse
Two colour-difference formulae disagree about which of two pairs is the larger difference in thirteen per cent of comparisons overall — and in forty-three per cent of comparisons among pairs sitting near a tolerance of one unit, which is where every acceptance decision is actually made.
A colour has a name
Every quantity here is a number, and the question a reader arrives with is what colour something is called. The eleven basic terms of English divide the space into territories that differ by a factor of five, the metric accounts for fifteen per cent of that, and one of the eleven focal colours cannot be shown on this page at all.
A name is not a threshold
Two colours have to move about ten times a just-noticeable difference apart before people stop calling them the same thing, and how far varies threefold across one plane of the space. A tolerance and a word are answering different questions, and nothing in colorimetry converts between them.
A catalogue is not a vocabulary
A colour order system is a regular lattice, because a person has to be able to find a page. Sorted by what its chips would be called, that lattice comes apart into piles differing by a factor of three — and a fifth of all one-step moves in it change the name.
Three constants nobody quotes
CIEDE2000 is defined with three parametric factors in it, the CIE leaves them to the industry using the formula, and the two settings in ordinary use differ by a factor of two in one of them. Twenty-nine per cent of acceptance decisions change between the two — a larger disagreement than any between the formulae themselves.
There is no word for that colour
The naming model built this phase gives a saturated cyan the name green, calls part of a chromatic ring grey, and puts one of the eleven focal colours outside what a display can show. Each failure is a measurement rather than a disclaimer, and together they say what a vocabulary is that eleven points and a distance are not.
A name in the model's own words
The eleven basic colour terms move when the room does, and the obvious objection is that they were being measured in a space with no room in it. Quoting them in an appearance model's own coordinates instead does not shrink the renaming — it grows it by four per cent — and the space alone renames an eighth of the gamut with the room held still.
No diagram makes them circles
Every chromaticity diagram is a projective picture of the same measurement, so how badly MacAdam's ellipses fail to be circles can be minimised over the whole family of them. The best plane there is still leaves the average ellipse twice as long as it is wide — which makes the residual a fact about the eye rather than about anybody's choice of primaries.
A difference needs a basis too
A linear change of coordinates leaves every colour match exactly where it was. A cube root does not commute with one — so a lightness–chroma space, and every colour difference computed in it, is a property of the basis that happened to be in place before the nonlinearity. CIELAB's basis was chosen in 1931 for reasons that had nothing to do with difference.
No basis is good at both
The same nine numbers decide how well a von Kries gain reproduces a change of light and how nearly a lightness–chroma space makes the discrimination ellipses circles. Minimise either one and the other collapses. The basis built from the receptors is best at neither and is the only entry in the table respectable at both.
One matrix doing two jobs
CIECAM16 adapts in CAT16 and then applies its response compression in the same axes, so a single matrix decides both how well the model handles a change of light and how uniform the space it produces is. The two jobs have different best answers, and the matrix was chosen against only one of them.
A compression goes below the floor
Elsewhere this collection minimised the anisotropy of MacAdam's ellipses over every chromaticity diagram there is, found 2.02, and called the residual a property of the eye. It is a property of the eye seen through a projective picture. A cube root after the right basis reaches 1.61 on the same twenty-five ellipses.
The exponent was never the argument
A century of colour science has argued about whether the eye's response is a cube root, a square root or a logarithm. Minimise the anisotropy of MacAdam's ellipses over every basis, at each of eight exponents, and the floor moves by under three per cent between a cube root and a tenth root — while the basis moves it by a factor of two.
A departure is straight in the excitations
Walk a sample a quarter of the way from the light towards its own reflectance and exactly a quarter of the observer disagreement remains — in cone excitations, to two parts in a hundred. In ΔE₀₀ the same quarter leaves 0.347 where proportionality wants 0.428, and the discrepancy belongs entirely to the unit.
Which mixture bows most depends on the ruler
The physical half-and-half mixture of two lights misses the midpoint of their two readings in any unit a person is shown, and the share it misses by is about the same in ΔE₀₀ and in the appearance model's own space — 12.8 and 14.6 per cent at the median. Which mixtures miss most is not. The rank correlation between the two units is 0.57, a display's blue and yellow is the worst pair in one and the mildest in the other, and the smaller number usually quoted for the appearance model is its power correction rather than a straighter line.
A distance raised to a power has no length
CAM16-UCS's colour difference is its Euclidean distance raised to the power 0.63 and multiplied by 1.41. That is still a metric — the triangle inequality holds on every one of four thousand random triples — and it has no length. A grey ramp from black to white measures 25 units in one step, 137 in a hundred and 755 in ten thousand, growing as the number of steps to the power 0.37, and halving the size of a step triples the number of steps that fit.
The straight line is not the shortest gradient
A colour difference formula says what a small step costs at every colour, and that is enough to ask which path between two colours is shortest. It is not the straight line: between red and green the shortest path bows thirteen CIELAB units away, saves four per cent — and stays inside sRGB on every step where the straight line leaves it. The formula's own answer for the two endpoints, meanwhile, is neither length.
Two uniform spaces disagree about between
ΔE₀₀'s own local behaviour says which colours lie between two colours, and so does CAM16-UCS's. They do not agree. On cyan to magenta the two shortest paths run fifteen CIELAB units apart — more than either runs from the straight line — and on that gradient ΔE₀₀ would rather have the straight line than CAM16-UCS's answer. Getting the comparison at all takes noticing that one of the two has no local metric: its published difference is a Euclidean distance raised to the power 0.63, and a power below one has an infinite derivative at zero.
A gamut charges a gradient nothing
On red to green the shortest path happened to stay inside sRGB where the straight line did not, and that was called a coincidence of mechanism. Made into a measurement it is not a coincidence: constraining a path to stay inside the gamut costs less of the metric's own length than the relaxation's own noise, on every gradient tested — including the ones whose free shortest path is outside at fifteen of its twenty-one steps. The gamut's boundary and the metric's cheap region point the same way, and the price of the constraint is nothing.
Two units with a light level disagree about lightness
ΔE₀₀ has no argument for how bright a display is. Two colour differences do: CAM16-UCS takes the room's adapting luminance, and ΔEITP — the difference defined for high-dynamic-range television — takes the stimulus's own absolute luminance. Twenty-three pairs at exactly one ΔE₀₀ grow in both as the display brightens, 2.1 times in ΔEITP and 1.5 in CAM16-UCS from a 5 to a 5,000 cd/m² white. But in ΔEITP the lightness part grows fastest, 2.7 times, and in CAM16-UCS it does not grow at all.
A third space breaks the tie only once
ΔE₀₀ and CAM16-UCS disagree about which colours lie between two colours. Oklab was the obvious tie-breaker, and it breaks the tie on one gradient of five: on red to blue its path runs within six CIELAB units of CAM16-UCS's and twenty-nine from ΔE₀₀'s. On red to green and cyan to magenta it keeps to CIELAB's straight line while both others bow, and on blue to yellow it bows further than either. Each of the three spaces is the odd one out somewhere. Asking also exposed a CAM16-UCS path that had never converged.
The units part by hue, not by light level
Two colour differences with a light level in them were compared on a display running from 5 to 5,000 cd/m², and a prediction was drawn from how each divided a difference between lightness and chroma. Built into pairs that differ in lightness alone and in chroma alone, both units say the same thing about light level: as a display brightens, chroma differences gain on lightness differences — ΔEITP by a tenth, CAM16-UCS by a quarter. Where they part is hue. The appearance model moves every colour's balance by the same factor; ΔEITP moves the violets, reds and cyan-blues the other way, and at nine of twelve base colours the two units disagree about the direction.
A lit room brings the units' medians together
As a display brightens, CAM16-UCS says chroma differences gain a quarter on lightness differences and ΔEITP says a tenth. All of the appearance model's movement comes from what the viewer is adapted to, and every calculation had the viewer adapted to the display alone. Give the room its share of the adaptation and the model's movement shrinks at every step: with a 20 cd/m² room supplying two thirds of it, the two units' medians fall by the same amount. What does not shrink is their disagreement about direction. The model still moves every colour the same way, ΔEITP still moves violets, reds and cyan-blues the other way, and in a lit room that becomes the whole of what separates them.
Named alongside it
The objects these essays reach for when they reach for this one.
CIELABCIEDE2000ΔESpecificationMacAdam's ellipsesToleranceJust-noticeable differenceChromaColour differenceGamutGradientLightness