Theme

The thread: Say which colour

A swatch is a set of coordinates in a space, under an observer, on a display with a gamut. Every colour drawn here carries all four, because a hex code on its own does not identify a colour at all.
0.00.20.40.60.80.00.20.40.60.8xyD65460480500520540560580600620hatched: outside sRGB15% of the visible area is reachableat luminance Y = 0.55CIE 1931 2° observer Matching and measuring

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.

400450500550600650700wavelength / nmA0.448, 0.407D500.346, 0.358D650.313, 0.329E0.333, 0.333normalised to 100 at 560 nmCIE 1931 2° observer What light is

A spectrum is not a colour

What arrives at the eye is a function of wavelength. What the eye reports is three numbers. Keeping the two apart is the single most useful habit in the subject, and almost every confusion in applied colour comes from letting them merge.

400450500550600650700wavelength / nmȳȳ is the luminous efficiency functionCIE 1931 2° observer Where the model breaks

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.

400450500550600650700wavelength / nmthe two coloursΔE00 = 6.2e-14spectra differ by 92%reflectances, under D65CIE 1931 2° observer What the eye does

Two spectra, one colour

Metamerism is usually described and almost never demonstrated. It does not have to be — the metameric black space is enormous, so a matching pair can be constructed to order, verified, and then made to come apart by changing the light.

400450500550600650700wavelength / nm2000 K3000 K4000 K6500 K10000 Keach normalised to its own peakCIE 1931 2° observer What light is

Blackbody and the colour of temperature

Heat something and it glows, in a colour fixed by its temperature alone. Planck's law gives the whole spectrum from one number, and the Planckian locus is the only curve in colour science derived from physics rather than from measurements of people.

0.00.20.40.60.80.00.20.40.60.8xyellipses at 10× scaleCIE 1931 2° observer Difference and uniformity

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.

on a dark fieldon a light fieldboth patches are #868686asserted equal Matching and measuring

Matching is not appearance

CIE XYZ predicts when two lights will look the same under identical viewing conditions. It was never a model of how anything looks, and most of the confusion in applied colour comes from using it as one.

normal trichromatprotanopiadeuteranopiatritanopiaBrettel–Viénot–Mollon 1997, severity 1.0a simulation is not an experiencesRGB, D65 Where the model breaks

Simulating what cannot be simulated

A colour-blindness simulation cannot show what anybody sees. What it can show is which discriminations survive, and that is a narrower claim, a checkable one, and the only one worth making.

400450500550600650700wavelength / nmȳȳ is the luminous efficiency functionCIE 1931 2° observer What the eye does

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.

code 128 → 21% luminance50% luminance → code 188code valuerelative luminancegamma 2.2sRGBthe diagonal would be a linear displayIEC 61966-2-1 Difference and uniformity

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.

one rectangle, or two?a visible seam means the display reaches past sRGBevaluated by the browser, not the buildCSS color(display-p3 …) Where the model breaks

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.

400450500550600650700wavelength / nmunder D650.490, 0.417under A0.561, 0.413reflectance is a fraction, 0 to 1CIE 1931 2° observer What light is

The illuminant is half the answer

An object has a reflectance, not a colour. The colour appears when a specified light falls on it, which is why two surfaces can match in a shop and clash outside, and why every serious matching standard names the light.

0.00.20.40.60.80.00.20.40.60.8xysRGBP3Rec. 2020areas are diagram areas, not perceptualCIE 1931 2° observer Matching and measuring

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.

code 128 → 21% luminance50% luminance → code 188code valuerelative luminancegamma 2.2sRGBthe diagonal would be a linear displayIEC 61966-2-1 Matching and measuring

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 on this site.

All themes