Image Source
No file chosen
Upload any image or generate a sample HSL gradient. Processed entirely on-device.
Illuminants
Source is the original viewing condition, destination is the target. Swap inverts the adaptation.
CAT Method
Display Gamma
2.2
Degree of adaptation D
1.00

D = 1 is complete adaptation. CIECAM02 computes it from the surround and the adapting luminance; here it is yours to set, and every figure says which value it used. The time course that gets you there is in Dynamics.

Per-Pixel Modulation
0.0
0.0
τpx = τ × (1 + scale × (1 − Y)). Dark pixels adapt slower at high scale.
🌐 Spatial Adaptation
64 px
0.60
0.50
Mix 0 = fully global, 1 = fully per-pixel local adaptation weighting.
⏱ Timeline
0 s
60
Options
No image yet

Load a photograph, or generate the sample sweep, and this view fills with the original, the adapted result, the per-pixel adaptation state and the two spectra — all computed on this device.

The sample is a synthetic HSL sweep — a test target, not a photograph, and labelled as one wherever a figure comes from it.

Adaptation Analysis
Ready τ=0.60s, delay=0.40s
Original Image
Orig canvas canvas is available as an interactive visual display.
Adapted Image (t = 0s)
Adapt canvas canvas is available as an interactive visual display.
RGB Histogram (Adapted)
Hist canvas canvas is available as an interactive visual display.
Adaptation Curve A(t)
Curve canvas canvas is available as an interactive visual display.
Per-Pixel Adaptation State Map
State canvas canvas is available as an interactive visual display. White = fully adapted, black = unadapted. Shows luminance-weighted state at current time.
LMS Cone-Channel Analysis
Lms canvas canvas is available as an interactive visual display.
SPD Spectral Overlay (Source vs Dest)
Spd canvas canvas is available as an interactive visual display.

Adaptation matrix

M, diag(d), the full product and all eight transforms compared are in Matrix — one copy, so the two cannot drift.

Degree of adaptation against time
D65 → D50
Adaptation matrix
X′ = M⁻¹ · diag(d) · M · X
All eight on this pair
what each does to your image, not which is more accurate

Every dataset this tool touches, and where it came from
Actions
Export
JSON includes state parameters, full 3×3 adaptation matrix, LMS scale factors, and determinant.
Share URL
Encodes illuminants, CAT method, τ, delay, strength, initial adaptation, and current time.
Multi-CAT Method Comparison

Compares all 8 CAT methods on a standardised test colour set at the current adaptation state A(t), reporting mean/median/min/max ΔE₀₀ and matrix diagnostics.

Compare canvas canvas is available as an interactive visual display.
Batch Colour Analysis

Paste HEX values (one per line, max 50) to compute adapted colours, ΔE₀₀, and L*C*h° at the current adaptation state.

Chromatic Adaptation Standards
CIE 160:2004 — A Review of Chromatic Adaptation Transforms

CIE Technical Report 160:2004 is a review of chromatic adaptation transforms, not a specification and not a recommendation. It sets out the general von Kries diagonal-adaptation framework X’ = M⁻¹ · diag(d) · M · X, where M projects tristimulus values into a cone-response-like space, and surveys the transforms in use against the published corresponding-colour data sets (Luo & Rhodes, Breneman, Kuo & Luo).

Bradford is the transform such surveys compare against, which is why the Matrix view reports every other transform as a difference from it. This tool does not hold the corresponding-colour sets — they are marked absent in Data — so nothing here ranks one transform above another for accuracy. What it can show is what each one does to your image.

CIE 159:2004 — CIECAM02

CIE 159:2004 defines the CIECAM02 colour appearance model which embeds the CAT02 chromatic adaptation transform. CAT02 uses a modified von Kries framework with a specific 3×3 cone-response matrix designed to improve upon Hunt–Pointer–Estévez. The adaptation degree D (0–1) controls partial adaptation, with D = 1 for full adaptation and D computed from luminance and surround for typical viewing conditions.

CIECAM02 superseded CIECAM97s but has known instabilities in the blue region for high-chroma stimuli, leading to CAT16 in the successor CAM16 model.

CAM16 / CAT16 — Li, Li, Wang, Xu, Luo et al. (2017)

CAM16 is the successor to CIECAM02, introduced by Li et al. (2017) in Color Research & Application. It replaces CAT02 with CAT16, a revised 3×3 matrix that eliminates the numerical instabilities observed in CIECAM02 for high-chroma blue stimuli.

CAT16 retains the von Kries diagonal framework but uses an improved cone-response matrix optimised against modern corresponding-colour data sets. It is the recommended CAT for new implementations.

ICC.1:2022 — ICC Profile Specification

The International Color Consortium profile format specification (ICC.1:2022-05) mandates D50 as the profile connection space (PCS) illuminant. All chromatic adaptation for ICC workflows must convert to/from D50 using the Bradford transform (recommended) or a method specified in the profile's chad tag.

Version 5 profiles support parametric PCS and may encode adaptation matrices explicitly, but Bradford remains the de facto standard for v2/v4 interoperability.

Fairchild & Reniff (1995) — Time Course of Chromatic Adaptation

Fairchild & Reniff (1995) published seminal psychophysical experiments measuring the time course of chromatic adaptation for asymmetric colour matching. They found that adaptation follows an approximately exponential decay with a time constant τ ≈ 60–100 ms for rapid neural adaptation, plus a slower component τ ≈ 10–20 s for photopigment bleaching recovery.

Their data supports the dual-process model: fast cone gain control (sub-second) and slow pigment regeneration (minutes). This lab's A(t) model captures the fast component; the slow component is beyond typical display durations.

Brainard & Wandell (1992) — Asymmetric Colour Matching

Brainard & Wandell (1992) investigated how observers adapt to changes in illumination using asymmetric colour matching. Their experiments demonstrated that adaptation is approximately (but not perfectly) von Kries-like: gain changes in L, M, S cone channels are largely independent but show some cross-channel interactions.

The degree of adaptation depends on spatial structure — uniform fields produce near-complete adaptation, while complex scenes show incomplete adaptation (D < 1). This motivates the spatial adaptation controls in this lab.

Foster (2011) — Colour Constancy

Foster (2011) provides a comprehensive review of colour constancy — the visual system's ability to perceive stable surface colours under changing illumination. The review covers computational models (von Kries adaptation, Retinex, Bayesian colour constancy), psychophysical data, and neural mechanisms.

Key finding: colour constancy is typically 50–80% for natural scenes (the "degree of constancy" or "Brunswik ratio"), meaning adaptation is incomplete. This justifies the strength parameter A∞ < 1 in this lab's model.

CIE 15:2018 — Colorimetry (4th edition)

CIE 15:2018 is the primary CIE technical report on colorimetry, covering standard illuminants (A, D50, D65, etc.), standard observers (2° 1931, 10° 1964), tristimulus computation, CIELAB, CIELUV, and colour-difference formulae (ΔEab, ΔE94, ΔE00).

All XYZ tristimulus values, illuminant whitepoints, and Lab conversions in this lab follow CIE 15:2018 definitions and normalisations.