Source colour
The single colour result appears in the output panel. Patch grid uses all loaded patches simultaneously.
Illuminants
Keyboard S swaps illuminants. Select "Custom CCT..." to reveal the temperature slider.
CAT method
Keyboard 1-8 cycles methods. CAT02 is the CIECAM02 standard; CAT16 corrects its hue rotation defect.
Adaptation degree - 100%
0% = no adaptation. 100% = full. CIECAM02 uses D = F[1 - (1/3.6)e^(-(LA+42)/92)]. Keyboard R resets to 100%.
Colour patches
Paste hex codes or select a built-in set. Click Apply to use custom patches.
Keyboard shortcuts
1-8 cycle CAT  |  S swap illuminants  |  R reset degree  |  E export CSV  |  C compare methods
White-point summary
Source illuminant
D65 - - -
Destination illuminant
A - - -
Single colour result
Source
#735244
Adapted
#735244
dE00-
dE76-
dE94-
Src XYZ-
Dst XYZ-
Src L*a*b*-
Dst L*a*b*-
Src LCH-
Dst LCH-
Gamut-
dE00 patch statistics
Min-
Max-
Mean-
Median-
Std Dev-
Patches-
Clipped-
Mean dE76-
Mean dE94-
Patch grid - source vs adapted
Source under D65
Adapted to A
Red borders indicate gamut-clipped patches.
SPD spectral power distribution (380-780 nm)
Blue = source SPD | Orange = destination SPD over 380-780 nm. Normalised to peak. Grid lines at 0%, 25%, 50%, 75%, 100%.
CIE 1931 chromaticity diagram
Spectral locus (white outline) | sRGB gamut triangle (gold dashed) | Planckian locus (faint) | Source/dest patches as arrows | White-point markers.
dE00 distribution histogram
20-bin histogram of dE00 values across all patches.
Full adaptation matrix (M-inv D M)
Loading...
det(M)-
k (condition)-
||M||_F-
The full 3x3 XYZ to XYZ adaptation matrix including partial adaptation. Determinant near 1.0 confirms invertibility. Low condition number = numerically stable.
Transform matrices - M and M-inv
M (XYZ to LMS)
M-inv (LMS to XYZ)
LMS cone-channel analysis
Scale factors (D)
L-
M-
S-
Src WP LMS
L-
M-
S-
Dst WP LMS
L-
M-
S-
Scale factors = ratio of destination to source cone responses, modulated by adaptation degree. Values near 1.0 = similar channels.
Per-patch results table
# Src Dst Src Hex Adapted dE00 dE76 dE94 Shift Gamut
Loading...
Export and share
CSV includes all patches with dE00/76/94 and gamut status. JSON export includes full matrix diagnostics, statistics, and configuration.
Multi-method comparison

Compare all 8 CAT methods against the same patch set and illuminant pair. Shows mean/median/min/max dE00, matrix condition number, and determinant side-by-side.

Method Mean dE00 Median Min Max Std Dev k(M) det(M) Best
Click "Compare all 8 methods" to run analysis.
Star marks the method with lowest mean dE00. Condition number k indicates numerical stability (lower = better). Keyboard C triggers comparison.
CIECAM02 and Chromatic Adaptation Standards
CIECAM02 Colour Appearance Model

CIE 159:2004: CIECAM02 is the CIE-recommended colour appearance model. It uses CAT02 as its chromatic adaptation step — the first stage converts XYZ tristimulus values to sharpened RGB (LMS-like) cone responses via the CAT02 matrix.

Adaptation step: In CIECAM02, the degree of adaptation D is computed as D = F × [1 − (1/3.6) × e^(−(L_A + 42)/92)] where F = 1.0 (average surround), 0.9 (dim), 0.8 (dark). L_A is the adapting luminance in cd/m².

Known issues: CAT02 has a documented hue rotation defect for highly saturated blue stimuli (Brill & Süsstrunk, 2008), which CAT16 corrects.

CAM16 and CAT16 — Successor Model

CAM16 (Li et al., 2017) corrects the hue rotation defect in CAT02 and uses an improved CAT16 transform matrix. CIE TC 1-99 is evaluating CAM16 as a potential successor to CIECAM02.

CAT16 matrix: Provides sharper cone separation than CAT02 while maintaining physical plausibility. The improved matrix eliminates negative LMS values for spectral stimuli.

ICC Profile Connection Space (PCS)

ICC v4 Specification: The International Color Consortium mandates the Bradford chromatic adaptation transform for converting between device colour spaces and the Profile Connection Space (PCS), defined under D50 illuminant.

PCS: CIE XYZ or CIELAB under D50 (5003 K). When adapting to/from D50, Bradford is required; CAT02 is used within CIECAM02 appearance calculations but not for ICC PCS conversion.

CIE 15:2004 — Colorimetry

CIE 15:2004 is the fundamental reference for colorimetric computation. It defines the CIE 1931 standard observer, illuminant SPDs (A, D50, D65, etc.), the XYZ colour space, CIELAB, and the chromatic adaptation procedures used when converting between illuminants.

CIE Technical Report 159:2004 and CIE 160:2004 provide further guidance on chromatic adaptation transforms and evaluations of the Von Kries coefficient law and its extensions.

CIEDE2000 — Colour Difference Standard

CIE 142-2001: CIEDE2000 (dE00) is the current recommended colour-difference formula. It includes corrections for lightness, chroma, hue, and an interaction term (rotation term RT) that addresses the blue region problematic in earlier metrics.

Guideline ranges: dE00 <1 imperceptible, 1-2 perceptible only by trained observers, 2-5 visible, 5-10 large, >10 very large difference.

CIE Standard Illuminants
  • Illuminant A (2856 K): Tungsten/incandescent. Defined by Planckian radiator.
  • Illuminant B (4874 K): Direct noon sunlight (deprecated in CIE 2004).
  • Illuminant C (6774 K): Average daylight (deprecated, superseded by D65).
  • D50 (5003 K): ICC PCS standard, printing industry.
  • D55 (5503 K): Mid-morning/afternoon daylight.
  • D65 (6504 K): Standard daylight, sRGB reference white.
  • D75 (7504 K): North sky daylight.
  • E (equal-energy): Theoretical, equal power at all wavelengths.
  • FL series (F1-F12): Fluorescent lamp spectral types.
ISO 3664:2009 — Viewing Conditions

ISO 3664 specifies viewing conditions for colour evaluation in graphic technology. It mandates D50 illumination for print evaluation and D65 for comparison with electronic displays. Chromatic adaptation transforms bridge the gap between these viewing conditions.

Mathematical Models and Formulas

CAT02 Transform Matrix (CIECAM02, CIE 159:2004):

M_CAT02 (XYZ to sharpened RGB):
| 0.7328 0.4296 -0.1624 |
|-0.7036 1.6975 0.0061 |
| 0.0030 0.0136 0.9834 |

CIECAM02 adaptation degree:
D = F * [1 - (1/3.6) * exp(-(L_A + 42)/92)]
F = 1.0 (average), 0.9 (dim), 0.8 (dark)
L_A = adapting field luminance (cd/m^2)

Adapted cone response:
R'_c = D * (Y_w * R_w_d / R_w_s) * R_s + (1 - D) * R_s
G'_c = D * (Y_w * G_w_d / G_w_s) * G_s + (1 - D) * G_s
B'_c = D * (Y_w * B_w_d / B_w_s) * B_s + (1 - D) * B_s

Known defect: Negative RGB values for highly saturated blue
stimuli near 460 nm (Brill & Susstrunk 2008). CAT16 fixes this.
Research, Standards and Citations

CAT02 and Colour Appearance Models

[1] CIE (2004). A colour appearance model for colour management systems: CIECAM02. CIE Publication 159:2004.

[2] Li, C., Li, Z., Wang, Z., et al. (2017). Comprehensive color solutions: CAM16, CAT16, and S-decoupled UCS. Color Res. App., 42(6), 703-718. DOI: 10.1002/col.22131

[3] Brill, M.H. & Susstrunk, S. (2008). Repairing gamut problems in CIECAM02. Color Res. App., 33(5), 424-426. DOI: 10.1002/col.20437

[4] Luo, M.R., Hunt, R.W.G. (1998). The structure of the CIE 1997 colour appearance model (CIECAM97s). Color Res. App., 23(3), 138-146.

[5] Fairchild, M.D. (2013). Color Appearance Models, 3rd Ed. Wiley-Blackwell. ISBN: 978-1-119-96703-3

Chromatic Adaptation Transforms

[6] Lam, K.M. (1985). Metamerism and colour constancy. PhD thesis, University of Bradford.

[7] Fairchild, M.D. (1996). Refinement of the RLAB color space. Color Res. App., 21(5), 338-346.

[8] Hunt, R.W.G. & Pointer, M.R. (2011). Measuring Colour, 4th Ed. Wiley.

Colorimetry and Colour Difference

[9] CIE (2004). Colorimetry, 3rd Ed. CIE 15:2004.

[10] Sharma, G., Wu, W., Dalal, E.N. (2005). The CIEDE2000 color-difference formula: Implementation notes, supplementary test data, and mathematical observations. Color Res. App., 30(1), 21-30. DOI: 10.1002/col.20070

[11] CIE (2001). Improvement to industrial colour-difference evaluation. CIE 142-2001.

ICC and Industry Standards

[12] ICC (2022). ICC.1:2022 Image technology colour management — Architecture, profile format, and data structure. International Color Consortium.

[13] ISO 3664:2009. Graphic technology and photography — Viewing conditions.

[14] IEC 61966-2-1:1999. Colour management — Default RGB colour space — sRGB.

SPD and Illuminant Computation

[15] Kang, B., Moon, O., Hong, C., Lee, H., Cho, B., Kim, Y. (2002). Design of advanced color temperature control system for HDTV applications. J. Korean Physical Society, 41(6), 865-871.

[16] Judd, D.B., MacAdam, D.L., Wyszecki, G. (1964). Spectral distribution of typical daylight as a function of correlated color temperature. JOSA, 54(8), 1031-1040.

About this tool

This tool implements 8 chromatic adaptation transforms with CAT02 as the default (CIECAM02 standard), full CIEDE2000, CIE76, CIE94 metrics, CIE 1931 chromaticity visualization, SPD spectral analysis, and multi-method comparison — entirely client-side (zero network). Not a substitute for calibrated measurement or official CIE software.

Research Backend
Backend
CIECAM02 Non-Linear Adaptation Degree

In CIECAM02, the chromatic adaptation degree D is not a simple percentage but a function of the adapting luminance L_A and surround condition F:

D = F * [1 - (1/3.6) * e^(-(L_A + 42)/92)]

where F = 1.0 (average), 0.9 (dim), 0.8 (dark) surround
L_A = adapting luminance (cd/m^2)

Examples:
L_A = 64 cd/m^2 → D ≈ 0.94 (near-complete adaptation)
L_A = 16 cd/m^2 → D ≈ 0.86 (typical office)
L_A = 4 cd/m^2 → D ≈ 0.69 (dim viewing)
L_A = 0.2 cd/m^2 → D ≈ 0.49 (scotopic conditions)

The slider above provides linear 0-100% as a simplified control.
For precise CIECAM02 calculations, compute D from L_A and F.
Advanced Spectral Reconstruction

Reconstructs full spectral reflectance from sRGB, applies chromatic adaptation in spectral domain (rather than tristimulus), and re-renders under destination illuminant. Compares tristimulus and spectral adaptation accuracy.

Click Analyse to compute spectral-domain adaptation.
Batch Chromatic Adaptation

Enter hex colours (one per line or comma-separated). Adapts all colours using current settings and produces full dE analysis with statistics.

Click Run Batch to analyse colours.
CAT02 vs CAT16 — Blue Defect Analysis

CAT02 is known to produce negative cone responses for highly saturated blue stimuli. This section documents the defect and compares CAT02 vs CAT16 for blue-region patches:

CAT02 defect region: spectral blues near 460 nm
Symptom: Negative R_c values after adaptation
Impact: Hue rotation artefacts in adapted colours

CAT16 fix: Redesigned matrix ensures all cone
responses remain positive for all spectral stimuli.

Recommendation: Use CAT16 for workflows involving
saturated blues. Use CAT02 when CIECAM02 compliance
is required. Use the "Compare all 8 methods" button
in the Actions tab to evaluate both on your data.
Gamut Mapping Research

Analyses gamut boundary interactions when adapting between illuminants. Shows which patches clip, which channels saturate, and recommends gamut mapping strategies.

Gamut mapping analysis is automatically included in the per-patch table (warning indicators on the Lab tab) and in the JSON export under gamutClipped. For advanced perceptual gamut mapping, use the ICC rendering intent framework.
Research backend provides: All 8 CAT methods (CAT02 default), CIEDE2000/CIE76/CIE94, CIE 1931 chromaticity, SPD spectral analysis, Multi-method comparison, Matrix diagnostics (determinant, condition number, Frobenius norm), Gamut clipping analysis, Batch adaptation, Full JSON/CSV export. All computation is on-device with zero network dependency.