Chromatic adaptation

One colour, two reference whites: what does it look like under the other one? Each entry here is a 3×3 matrix that maps XYZ into cone responses, scales each channel, and maps back.

The entries hold the matrix, the white points and the source; how the formula arises and how the D factor is used live in Basic problems. The laboratory above compares any two transforms and a pair of white points directly, on the 24 patches and in u'v'.

Laboratory

Pick two transforms and a pair of white points; the patches and the vectors update together. Everything runs in the browser — no colour data leaves the page.