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. CAT16 is the CAM16 standard; it corrects the hue rotation defect found in CAT02.
Adaptation degree - 100%
0% = no adaptation. 100% = full. CAM16 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.
CAM16 and Chromatic Adaptation Standards
CAM16 Colour Appearance Model

Li et al. (2017): CAM16 is a comprehensive colour appearance model proposed as a successor to CIECAM02. It uses CAT16 as its chromatic adaptation step — the first stage converts XYZ tristimulus values to sharpened cone-like responses via the CAT16 matrix, which eliminates the negative LMS values that plagued CAT02 for saturated blues.

Adaptation step: In CAM16, 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².

Key improvement: CAT16 corrects the hue rotation defect documented in CAT02 (Brill & Süsstrunk, 2008), providing physically plausible cone responses for all spectral stimuli while maintaining adaptation accuracy.

CIECAM02 and CAT02 — Predecessor Model

CIE 159:2004: CIECAM02 is the CIE-recommended colour appearance model using CAT02 as its chromatic adaptation step. CAT02 provides good adaptation for most stimuli but has a documented defect for highly saturated blue stimuli near 460 nm.

CAT02 defect: The CAT02 matrix can produce negative cone responses (R_c, G_c, B_c) for spectral stimuli near 460 nm when adapting between certain illuminant pairs. This causes hue rotation artefacts. CIE TC 1-99 is evaluating CAM16 as a correction.

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 for ICC compliance; CAT16 is recommended for appearance-based calculations and new workflows.

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

CAT16 Transform Matrix (CAM16, Li et al. 2017):

M_CAT16 (XYZ to sharpened cone-like responses):
| 0.401288 0.650173 -0.051461 |
|-0.250268 1.204414 0.045854 |
|-0.002079 0.048952 0.953127 |

CAM16 adaptation degree (same formula as CIECAM02):
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

Key advantage over CAT02: All cone responses remain
positive for all spectral stimuli — no hue rotation
defect for saturated blues near 460 nm.
Research, Standards and Citations

CAM16, CAT16, and Colour Appearance Models

[1] 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

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

[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 CAT16 as the default (CAM16 standard — corrects the CAT02 blue defect), 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
CAM16 Non-Linear Adaptation Degree

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

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 CAM16 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.
CAT16 vs CAT02 — Blue Defect Correction

CAT16 was specifically designed to correct the hue rotation defect in CAT02 for saturated blue stimuli. This section documents the improvement:

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

CAT16 solution: Redesigned matrix by Li et al. (2017)
ensures all cone responses remain positive for all
spectral stimuli. The matrix coefficients were optimized
to provide better cone separation while maintaining
physical plausibility.

Recommendation: Use CAT16 as default for all workflows.
Use CAT02 only when strict CIECAM02 compliance is needed.
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 (CAT16 default — corrects CAT02 blue defect), 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.