Concept

Primaries — where it appears

The lights or inks a system builds every other colour out of, whose chromaticities fix the boundary of what it can reach. Choosing them is a trade between how much of the diagram they enclose and how much they cost in efficiency, observer agreement and metameric risk.

Named by 32 essays across 6 fields — each of them below, with the objects they name alongside it.

The CIE 1931 chromaticity diagram with its unreachable region marked. The spectral locus encloses every chromaticity a human eye can see. Cells inside the sRGB triangle are drawn in their own colour; the 85 per cent outside it are hatched, because no value this display accepts is the colour belonging there.

Most of this diagram cannot be shown

The chromaticity horseshoe is the canonical illustration of colour science, and nearly every printed copy is filled edge to edge with colours the page cannot produce. The honest version marks them, and the marking covers most of the picture.

matching · Gamut
The CIE 1931 colour-matching functions. The three functions that turn a spectrum into three numbers. They are all positive, which is why XYZ exists — the RGB functions they were derived from are not. ȳ is by construction the luminous efficiency function, which is why luminance comes out of Y.

Seventeen observers in 1931

The standard observer that governs every colour specification in industrial use is an average over seventeen young British men, measured with equipment from the 1920s. It is known to be wrong in the blue, the correction has existed since 1951, and it has never been adopted.

limits · Limits
A spectrum, weighted three ways, and the three numbers left over. The illuminant D65 above; below, the same spectrum multiplied by each matching function. The area under each product is one coordinate of XYZ. Everything else about the spectrum — its shape, its structure, all its remaining degrees of freedom — is discarded here.

Three numbers

A spectrum has as many degrees of freedom as anyone cares to give it. The eye reports three. Everything colour science can do, and every way it fails, follows from that one collapse.

eye · Cones
A gamma probe: which grey matches a half-white dither?. The striped block on the left is half white and half black, so it carries half the luminance of white. Stand back until the stripes blur and find the patch that matches it. On an sRGB display the answer is code 188, not 128 — code 128 has only 22 per cent of white's luminance.

The display is an unknown

This site is displayed on the very apparatus it is about, and it knows almost nothing about that apparatus. Two figures here stop assuming and ask instead — a probe for the transfer function and a probe for the gamut.

limits · Limits
sRGB, Display P3 and Rec. 2020 compared on the chromaticity diagram. Three nested triangles inside the horseshoe. sRGB covers 74 per cent of the area P3 covers. Rec. 2020's red and green primaries sit on the spectral locus itself, within 0.000 and 0.002 of it, meaning they are monochromatic.

What a gamut costs

Three primaries reach a triangle and the visible region is not a triangle, so something has to give. Widening the primaries helps, has a price in precision and compatibility, and runs into a limit that is geometric rather than technological.

matching · Gamut
The CIE 1931 colour-matching functions. The three functions that turn a spectrum into three numbers. They are all positive, which is why XYZ exists — the RGB functions they were derived from are not. ȳ is by construction the luminous efficiency function, which is why luminance comes out of Y.

Why colour is exactly three-dimensional

Matching every wavelength with three primaries requires, for some wavelengths, a negative amount of one of them. That physical awkwardness is why the colour-matching functions were transformed into XYZ, and why the horseshoe is curved.

eye · Cones
The sRGB transfer function, and the gamma 2.2 curve it is not. Code value against relative luminance. The sRGB function is piecewise — a short linear segment near black, then a 2.4 power law with an offset — and it is close to but not the same as a plain 2.2 power law. Half-way along the axis of stored values sits at 21 per cent luminance, and half the luminance of white is at code 188.

A hex code is not a colour

Six hexadecimal digits identify three numbers. Turning three numbers into a colour needs a colour space, a transfer function, a white point and a display, and leaving any of them unstated is the everyday version of every confusion in colour management.

matching · Gamut
How far a match comes apart when the observer changes. A broad source and a three-primary source, solved at each primary width so the pair is an exact tristimulus match for the CIE 1931 observer. The pair is then handed to the 1964 observer, and the gap between them is plotted. For the observer they were built for the gap is arithmetic noise at every width. For the other it grows as the primaries narrow, reaching 0.012 at 10 nm — and displays have been getting narrower for twenty years.

Whose eyes

The standard observer is an average over seventeen people, and no reader is it. What that costs was small when displays were broad and grows every time the primaries get narrower.

limits · Limits
The 1976 uniform chromaticity diagram, with the unreachable region marked. The u′v′ diagram: the same spectral locus and the same sRGB primaries as the 1931 picture, projectively transformed. Straight lines stay straight, so mixtures and the gamut triangle survive; what changes is the distribution of area, and the green region that dominates the 1931 diagram is much reduced. 8% of the cells sampled inside the locus are reachable at Y = 0.55; the rest are hatched.

The diagram was replaced in 1976

The CIE knew the 1931 diagram was badly distorted and published a better one. Half a century later almost every chromaticity plot in print is still the old one, and both are still printed filled edge to edge with colours no display can show.

matching · Gamut
Dominant wavelength as a construction on the diagram, against equal-energy E. A ray is drawn from the white point through each sample and continued until it leaves the diagram. The sample at (0.28, 0.52) leaves through the spectral locus at 537 nm, at excitation purity 0.43. The sample at (0.36, 0.19) leaves through the line of purples, so it has no dominant wavelength at all and is written 544c nm — the crossing on the opposite side, marked with a c. The hatched region is colour this display cannot show and is not drawn as though it could.

Not every colour has a wavelength

The question every reader arrives with is which wavelength a colour is. For close to a third of the directions on the chromaticity diagram the honest answer is that there is none, and the construction colorimetry offers instead is a statement about a diagram rather than about light.

matching · Gamut
Chromaticity-triangle area against CIELAB volume, both relative to sRGB. Two ratios for each space, both against sRGB. The upper bar is the area of the primary triangle on the CIE 1931 diagram; the lower is the volume of the gamut solid in CIELAB, computed by tetrahedral decomposition of the RGB cube at 24 cells per axis. Display P3 is 1.36× sRGB by area and 1.50× by volume; Rec. 2020 is 1.89× sRGB by area and 2.26× by volume. The chromaticity diagram divides luminance out, so its triangle is a projection along the axis the eye is most sensitive to — and a coverage percentage quoted on it is a statement about the shadow.

The triangle is a shadow

A display's gamut is drawn as a triangle on the chromaticity diagram, and coverage is quoted as a percentage of that triangle's area. Chromaticity has luminance divided out, so the triangle is a projection along the axis the eye cares most about — and the ratios computed on the solid are not the ratios computed on its shadow.

limits · Limits
sRGB, Display P3 and Rec. 2020 compared on the chromaticity diagram. Three nested triangles inside the horseshoe. sRGB covers 74 per cent of the area P3 covers. Rec. 2020's red and green primaries sit on the spectral locus itself, within 0.000 and 0.006 of it, meaning they are monochromatic.

Six numbers make a space

An RGB colour space is eight numbers — three primary chromaticities, a white point, and a transfer function — and everything else about it is derived. Deriving it rather than copying the matrix is the difference between having a colour space and having a table somebody else computed.

matching · Gamut
How far three channels drift from eighty-one, per bounce. One room, one geometry, one reduction to three channels, and the only thing changing is how many bounces of the Neumann series are kept. At one bounce the two agree to 2.5e-13 — the only reflectance in that path is the floor's, which is flat, and a flat reflectance is one of the few three numbers carry exactly. Every bounce after it multiplies another non-flat reflectance into the spectrum, and three numbers cannot carry a product they were never given the factors of. The curve levels off at ΔE00 = 2.38 because the light has run out, not because the disagreement has.

Rendering in three numbers

Almost every renderer ever shipped bounces red, green and blue rather than a spectrum. The error that costs is exactly zero at the first product and grows at every one after it — because three numbers cannot carry a product they were never given the factors of, and each bounce is another product.

scene · Scene
Why blue and yellow make green. 7 mixtures between a blue and a yellow pigment, mixed in Kubelka–Munk — K/S summed by concentration and inverted back to reflectance — and plotted against the straight line joining the two endpoints. The path bows towards green by 0.099 in chromaticity, and the reason is in the spectra rather than in the eye: the blue reflects below about 520 nm and the yellow above about 500, so the only band both return is the overlap between them. Mixing lights adds spectra and lands on the chord; mixing pigments intersects them and does not.

Why blue and yellow make green

The oldest fact in colour, and the usual explanations are wrong. It is not because green sits between blue and yellow, and it is not a fact about the eye at all — it is that the only band both pigments return is their overlap, and the overlap of a blue and a yellow reflectance is green. Computed, the mixing path bows away from the straight line by a measurable amount.

scene · Scene
What no surface can be more colourful than. The MacAdam limits at 4 lightnesses under D65, each computed by sweeping two-transition reflectances over the whole band and keeping those that land at the target luminance factor. This is a physical bound rather than a gamut: a reflectance above 1 is a surface that emits, so no pigment anybody invents will ever put an object colour outside these curves. The boundary shrinks steeply as the surface lightens, from 0.310 at Y = 0.1 to 0.028 at Y = 0.9 — a very light surface has almost no room to be colourful, and that is physics rather than pigment chemistry. Drawn against it is sRGB at the same luminance factor rather than as a primary triangle, because a triangle is what a display can reach at some luminance and the bound is what a surface can reach at one; matched properly, sRGB covers 36% at Y = 0.1, 40% at Y = 0.3, 40% at Y = 0.6, 21% at Y = 0.9. The faint triangle is the familiar figure, kept only to show how much it misleads.

No surface can be that colourful

There is a hard bound on object colour that no pigment will ever move, and it follows from a reflectance being at most 1. Its boundary is generated by two numbers, it shrinks by a factor of eleven from dark to light — and measured against it properly, sRGB reaches 40% of what a surface could be at mid lightness while Rec. 2020 reaches 106%.

scene · Scene
Temporal sensitivity, and where each channel gives out. Modulation frequency in hertz against relative sensitivity. The luminance channel is band-pass, peaking at 8 hertz and running out at 60; an isoluminant modulation is low-pass and runs out at 15, which is 4.0 times sooner. Both cutoffs are at the same criterion of 5 per cent of that channel's own peak, so the ratio between them is a ratio between two measurements rather than between two conventions.

The eye has a shutter

An isoluminant flicker fuses at fifteen hertz and a luminance one at sixty, so a light whose colour changes forty times a second is a steady light of a colour it never emits. And the frequency at which flicker stops being visible is not a property of the eye — it moves twelve and a half hertz for every decade of light.

eye · Cones
A 100 hertz drive, and whether anybody sees it. 3 cycles of a 100 hertz drive at 100 per cent modulation. The number beside each is how far above the threshold for seen flicker its loudest harmonic sits: above one and a stationary observer sees the flutter, below it and only something moving does. Fusion is at 60 Hz at 100 cd/m², and moves 12.5 Hz for every decade of light.

A lamp has a waveform

A lamp modulating a thousand times a second is a hundred times past the frequency at which flicker fuses, and it is plainly visible — as a dotted trail, during any glance across the room. The reason is not a new measurement; it is the spatial contrast sensitivity function, arriving from an unfamiliar direction.

light · Light
Several sources on one scale. planck, led, narrowband, each normalised to its own peak and drawn on shared axes with the colour each produces beside it. Every one of these is sold as white light and every one is ordinarily described that way; what they have in common is a chromaticity, and very little else.

A screen is a poor lamp

A display's white is a light. Shone on a surface it renders colour worse than a fluorescent tube — and the wider the gamut, the worse it gets, because the narrow primaries that buy a large triangle are exactly the ones that leave holes in the spectrum.

light · Light
A fourth primary, swept — every setting an exact match, none of them the same. Four primaries matching three numbers leave one degree of freedom. Along the horizontal axis it is the fourth primary's share of the white's luminance; at each value the other three powers are solved exactly, so every point on this plot is a floating-point-exact match for the reference member — worst residual 1.3e-15 — and no colorimeter can tell them apart. What the population sees runs from 13.7 ΔE00 at the ninety-fifth percentile to 17.3, a factor of 1.26. The best setting is the largest share the arithmetic admits, so what stops it is not colour but the requirement that four powers stay positive.

Four primaries have a choice

Three primaries matching three numbers have one answer. Four have a family of them, every member exact to floating point for the observer they were solved for — and the members are not equally good for anybody else, so a display with a fourth primary has a setting that is robust to who is looking at it and a setting that is not.

matching · Gamut
What a fourth primary actually buys. All three displays are floating-point-exact matches for the reference observer, so no colorimeter can tell them apart. The bars are the 95th percentile of what two hundred other eyes report. Held to the same gamut floor of 1.4× sRGB, the four-primary design leaves the population 2.6 times closer together than the three-primary one. That is what the extra emitter is worth, and it is not more colour — the gamut is held fixed while it is measured.

A fourth primary is a design

A display's fourth emitter is sold as more colour. Optimised instead against how far apart two hundred eyes are about its white — with the gamut held fixed so it cannot cheat — it buys agreement, and two and a half times closer together than three primaries reaching the same area, and the wavelengths it chooses are not the ones anybody would pick.

matching · Gamut
Which of these paints the display can show, and to how many people. Each row is a real surface under D65, and the bar is the share of 120 observers for whom a non-negative mixture of this display's three primaries reproduces it. The question has no observer-free answer: the paint is a reflectance, the primaries are emission spectra, and whether one matches the other is a fact about somebody's cones. A dot marks the rows the 1931 observer calls displayable. 2 of them are rows some real people cannot see, and 4 more go the other way.

A gamut has a population

Whether a display can reproduce a paint is a fact about somebody's cones, so the boundary of a gamut is not a curve but a band. On a laser projector, ten of twenty-eight boundary surfaces are ones the standard observer calls displayable and some real people cannot see — and the wider the gamut, the wider the band.

matching · Gamut
Three published primary sets, and a fourth chosen for how it adapts. The spectral locus with four triangles inside it. sRGB covers 33.5% of the diagram and leaves an adapted observer 2.36 ΔE00; Display P3 covers 45.4% at 1.22; Rec. 2020 covers 63.3% at 1.09. The fourth triangle is the best adaptation basis available to a display asked to cover 63.5% of the diagram, at 1.02 — and it is a different triangle from Rec. 2020's rather than a smaller one. The largest triangle that fits at all covers 73.9%, which is where the axis of this argument ends.

Primaries chosen for their inverse

Moving a display's white point is a gain on its R, G and B, so a display adapts in the inverse of its own primary matrix — a basis chosen by committees for gamut coverage and phosphor availability. Pose the design problem properly and the answer costs one per cent of the gamut argument and reaches within two per cent of the best basis there is.

applied · Delivery
A display's primaries, scored as the adaptation basis they are. Four primary sets ranked by the mean ΔE00 an adapted observer is left with when the white point moves — which for a display is a gain on R, G and B, and so a von Kries adaptation in the inverse of its own primary matrix. sRGB leaves 2.36, as much as scaling XYZ directly and therefore as much as having no cone basis at all. Rec. 2020 leaves 1.09, better than every published adaptation transform fitted to corresponding-colour data. Nobody chose that: it is what wanting a wider gamut does to a primary's spectral selectivity.

The gamut race chose the basis

Twenty years of arguing about how much of the diagram a display should cover has produced primaries whose inverse is a better adaptation basis than any transform ever fitted to corresponding-colour data. On the invariant count of what those displays can actually show, the same twenty years produced nothing at all.

matching · Gamut
What a display's red primary is allowed to be, under four requirements at once. A close view of the chromaticity plane around one designed primary, 0.101 units across. Four outlines: the set of positions the primary can take before each of four requirements gets one per cent worse — how well a gain in the display's own basis undoes a change of light, how much of the diagram the three primaries enclose, how many real surfaces fall inside them, and whether a light of that colour exists at all. The shaded region is where all four hold. It is 5% of the smallest outline's area, because the outlines are long and thin and cross at an angle rather than nesting. adaptation holds 42% of its boundary, gamut holds 10% of its boundary, realisable holds 48% of its boundary.

A primary is chosen for four things

A display's primaries have to adapt well, cover the diagram, hold the surfaces anybody photographs, and be colours a light can actually have. Drawing all four tolerance regions around one primary shows that no single requirement decides where it can go, and that one of the four never decides anything.

matching · Gamut
The same tolerance, in the two numbers somebody actually sets. The plane a maker of a single-peak emitter works in: peak wavelength across, full width at half maximum up. Each marker is a candidate emitter whose chromaticity falls inside the colorimetric tolerance drawn for this display's green primary. They occupy a narrow band — peaks from 528 to 535 nanometres, a span of 7, against widths from 25 to 45 — so a tolerance stated as a region in chromaticity becomes ±3.5 nanometres of peak and a great deal of latitude in width. 2.0% of the 2501 candidates land inside at all: most of a region drawn in chromaticity is a colour no single-peak emitter makes.

A tolerance in the wrong coordinates

A display primary's tolerance is written as a region in chromaticity, because that is where the colorimetry lives. Nobody has a knob for chromaticity. What a maker of an emitter sets is a peak wavelength and a bandwidth, and the map between the two is so anisotropic that on the red primary its condition number is over eleven thousand.

matching · Gamut
What this collection's grid does to its own observer audit. Two bars per light: the mean departure of the observer computed on this collection's five-nanometre grid, and the same computation on a quarter-nanometre one. For five of the six lights the two agree to two decimal places, which is what a well-sampled spectrum looks like. For the laser projector the coarse answer is exactly zero and the fine one is 1.80 — the largest in the table. On a five-nanometre grid a three-line spectrum with lines at 465, 532 and 638 nanometres is a one-line spectrum, and a single wavelength is a stimulus every observer agrees about to the last bit. The two departures do not compound here; the first conceals the second.

One wavelength is everyone's colour

A stimulus with a single wavelength in it produces the same relative cone excitations for every observer, exactly, whatever their age or field size. A display made of three such stimuli is where observers disagree most. Both statements are consequences of the same algebra, and the second is why laser projection has an observer problem.

matching · Gamut
The three cone absorptances at two settings of the pigment peaks. Solid and dashed are the same construction at the two ends of two standard deviations, and the L/M polymorphism on top. The curves are built from one pigment template through its ocular media, which is the same model its population of two hundred eyes is drawn from. The largest difference between the two sets is 8.9 per cent of the peak, and where it sits along the wavelength axis is what decides which stimuli the two observers disagree about — a departure concentrated in the blue is invisible on a sample with no blue in it.

The peaks move the flanks

Shifting a cone's peak wavelength by three nanometres changes its sensitivity at its own maximum by almost nothing and on its flanks by several per cent, because a maximum is flat and a flank is steep. Every display primary sits on a flank, which is why a pigment polymorphism is worth 3.60 ΔE₀₀ under a laser projector.

eye · Cones
The same white, matched at six primary widths. At every width the three primaries are solved to match D65 exactly for the reference member; the bands are what the population sees. A broad primary integrates the observer differences over a band and averages them away; a narrow one samples them at a point and passes them straight through. From 40 nm to 2 the ninety-fifth percentile rises from 11.3 to 17.9 ΔE00, monotonically, and the technology has been moving from left to right for thirty years.

A narrow primary buys a disagreement

The observer audit decomposes what a display costs a population. Narrowing the primaries raises the pigment-peak departure monotonically, moving one raises or lowers the macular departure, and the two respond to different design variables — so a wide gamut and an observer-robust display are bought with the same money.

matching · Gamut
Two primaries mixed, and the line a reader assumes they take. The additive mixture of two sRGB primaries, walked in twenty steps, plotted in the a and b of CIELAB. The filled points are where the light actually goes, which is exactly straight in tristimulus values because that is Grassmann's second law. The open points are the straight line between the two readings. They part company by 26.7 ΔE₀₀ at their furthest, at 60 per cent of the way along, and the half-and-half mixture misses the midpoint by 21.1.

The mixture line bows

Grassmann's second law says an additive mixture is exactly linear in tristimulus values, and tested here it is exact to floating point. Nothing downstream of the three numbers preserves it. The physical half-and-half mixture of two colours sits a median of 5.5 colour differences from the midpoint of their two readings and up to thirty; on a green and a blue display primary it is twenty-one, which is a quarter of the distance between them.

matching · Gamut
Four mixtures of display primaries, bowing by different amounts in two units. The half-and-half mixture of each pair of sRGB primaries, measured from the midpoint of the two readings as a share of the pair's own separation. The upper bar is ΔE₀₀ and the lower is the appearance model's J′a′b′. In ΔE₀₀ green and blue bows most, at 25 per cent; in the model it is red and blue, at 20, and blue and yellow falls from 22 to 12. The right-hand column gives the model's distance with its power correction, which is smaller than the Euclidean one for every pair here.

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.

matching · Gamut
A soft proof exact for one observer, as two hundred others see it. Each display is driven to match each of thirty printed patches exactly for the reference observer, so for that observer screen and print are the same colour to fourteen decimal places. The bars are what two hundred observers drawn from the population make of the same pairs: the median observer's difference, median over the patches, and the ninety-fifth percentile observer's: 1.8 and 4.8 on the wide-gamut LCD, 2.0 and 5.4 on the OLED, 3.1 and 7.5 on the laser projector. The narrower a display's primaries, the larger both become.

A soft proof is exact for one reader

A display can be driven to match a printed patch exactly for the standard observer — three equations, three unknowns, agreement to fourteen decimal places. Two hundred observers drawn from a realistic population see the same screen and print a median of 2.1 colour differences apart on an OLED panel and 5.4 apart at the ninety-fifth percentile. On a laser projector the ninety-fifth percentile is 7.5. The patch that fails worst is unprinted paper, and in the chain's own unit the ninety-fifth percentile reader's stage is larger than every one of the four stages a delivery chain is budgeted for.

applied · Delivery
A soft proof exact for one observer, and three proofs tuned for readers. For each display, the median over printed patches of the 95th percentile reader's mismatch between screen and print, for four ways of choosing the display's three drive levels: exact for the reference observer; least squares over a population of a hundred; tuned on that population's 95th percentile; and tuned on the two hundred readers it is scored on, which no workflow could do. On a wide-gamut LCD the four give 4.57, 4.99, 4.74, 4.39, and the three tuned proofs cost the reference observer 0.70, 0.82, 0.69. On an OLED panel the four give 5.12, 5.72, 4.99, 4.86, and the three tuned proofs cost the reference observer 1.35, 0.95, 0.67. On a laser projector the four give 7.54, 7.00, 6.81, 6.50, and the three tuned proofs cost the reference observer 1.88, 1.23, 1.14.

A proof cannot be tuned for readers who disagree

A soft proof matched exactly for the standard observer is five colour differences wrong for one reader in twenty. Giving up that exactness to tune the display's three drives for a population instead moves the ninety-fifth percentile reader by 4 to 14 per cent even when the tuning is done on the very readers it is scored against — because what readers see is mostly each other's disagreement, and three drives act on every reader at once.

applied · Delivery

Named alongside it

The objects these essays reach for when they reach for this one.

Display gamutGamutStandard observerChromaticityObserver metamerismIndividual variationColour managementMetamerismSpecificationWhite pointNarrow band displaysSpectral locus

All concepts