Colour science/H4/Colour range

Colour range

Gamut mapping

What to do with colours outside a target gamut: clipping, compression, hue preservation, luminance interaction, Rec.2020-to-P3/Rec.709, ACES RGC and Resolve workflow.

Out of gamutCompressionBoundaryHueColour volume
In plain language

A matrix transform can say where a colour should land mathematically, but it cannot guarantee the target display can reproduce it. Gamut mapping solves that mismatch: how to fit unavailable colours without crude hue/detail collapse.

11 sections4 primary references

Quick reference

Definitions and numbers worth keeping in view

Input
Wide / out-of-gamut
Target
Display gamut / volume
Clip
Boundary collapse

Different source colours can become one target colour.

Compression
Preserve ordering / hue

Soft compression of the outer gamut instead of hard clamping.

GAMUT MAPPING

A matrix translates coordinates. Gamut mapping decides what to do with unreproducible colour.

source gamuttarget gamutcompress toward boundary
Clip
fast, but several colours can collapse onto one boundary point.
Compress
preserves differences by gradually reducing chroma near the boundary.
Hue / luminance
good mapping controls perceptual hue/lightness relationships, not saturation alone.
01

Where out-of-gamut values come from

Camera gamuts and working spaces are intentionally wider than delivery spaces. After camera transforms, saturation operations, VFX and tone rendering, colours can sit outside Rec.709, P3 or a real display gamut. That is not necessarily a source error; the problem appears when such colour must be represented on a smaller target.

02

Why an RGB-to-RGB matrix is not enough

A matrix conversion correctly changes coordinates between two linear RGB bases, but out-of-gamut target values become negative or greater than 1. If they are immediately clamped, multiple distinct source colours can collapse to one boundary colour. Mapping adds a nonlinear solution around the gamut boundary.

03

Clipping: predictable but destructive to relationships

Channel/gamut clipping truncates whatever does not fit. With saturated LEDs, signage, lasers, neon and CG it can create flat saturated patches, hue skews and lost texture. Clipping may be acceptable as a deliberate hard boundary, but it is too crude for general rendering.

04

Compression preserves relationships between colours

Instead of truncation, the outer region is progressively compressed toward the target boundary. A good compressor leaves the inner gamut mostly unchanged, begins acting near a chosen threshold/knee and preserves saturation ordering: a more saturated source should still look more saturated after mapping.

05

Hue preservation is harder than ordinary Saturation

Reducing RGB channels or saturation in the wrong space can rotate hue substantially, especially near a gamut cusp. Modern gamut-mapping algorithms often work in perceptual/cylindrical representations or use hue-aware boundaries so chroma can be compressed with less change to perceived hue.

06

The gamut boundary changes with luminance

A 2D CIE triangle is useful geometry for primaries, but a real display's colour volume contracts at very low/high luminance and depends on technology. HDR gamut mapping is therefore best considered together with tone mapping: a very bright saturated colour can be unavailable even if its chromaticity sits inside the nominal 2D triangle.

07

Rec.2020 → P3 → Rec.709

BT.2020 defines very wide primaries, while many HDR mastering displays are closer to P3 inside a BT.2020 signal container and SDR delivery is usually Rec.709. Each narrowing step can create out-of-gamut colours. A file tagged Rec.2020 therefore does not mean every pixel lies inside the physical gamut of a particular display.

08

Scene-referred and display-referred mapping solve different problems

Scene-referred camera values can become problematic before output rendering, for example extreme camera-native colours after an IDT. Display-referred mapping fits the rendered result to the target. ACES Reference Gamut Compression is an example of scene-referred technical compression; the output transform then performs display rendering.

09

ACES Reference Gamut Compression

ACES 1.3 RGC was introduced to handle problematic high-chroma scene values before the output transform and reduce artefacts such as colour inversion/negative values. It is not a creative saturation effect and not a substitute for final display gamut mapping; its stage needs to be understood inside the ACES pipeline.

10

Gamut mapping in Resolve

In managed RCM, the output DRT may already include gamut compression. CST exposes mapping controls for wide-to-narrow transforms. Before enabling another compressor, first determine whether the project output transform is already doing the same job. Then test saturated LEDs, skin near neon, graphics and synthetic gradients; they reveal weak mapping quickly.

11

Evaluation is more than keeping points inside a triangle

Successful mapping is judged by hue continuity, saturation ordering, texture, skin stability and the absence of hard plateaus. A vectorscope helps show direction and extent but does not replace the target display. A numerically in-gamut result can still look worse if the algorithm destroyed local perceptual relationships.

What this changes in post

If a wide-gamut source looks fine before the output transform but develops neon clipping or hue shifts afterwards, inspect the boundary/mapping stage and possible stacked compressors rather than reaching first for Saturation.

Common mistakes
Treating a matrix conversion as complete gamut mapping.
Clipping negative/>1 values immediately after a transform.
Using ordinary Saturation instead of boundary-aware compression.
Applying RGC/RCM/CST gamut compression twice.
Looking only at a 2D gamut and ignoring luminance.
Evaluating mapping without challenging high-chroma tests.