Gamut mapping

On this page 7

Gamut mapping is the process of converting colors from a source color space into a destination device whose color gamut is smaller or differently shaped, so that every color in the image lands on a color the device can actually reproduce. In photography and in printing and color management, it is the step that decides what happens to a saturated sunset orange or a deep cyan sky when an inkjet printer, a press or a display simply cannot produce it.

The mapping is carried out by a color management module (CMM) using the source and destination ICC profiles, and its behavior is selected through the rendering intent. Good gamut mapping keeps hue, tonal order and smooth gradations intact; poor mapping produces flat, banded or hue-shifted results.

How gamut mapping works in a color-managed workflow

Gamut mapping happens inside a profile-to-profile conversion. The CMM first translates source values, for example Adobe RGB or ProPhoto RGB numbers, into a device-independent profile connection space (PCS), which is either CIE L*a*b* or CIE XYZ. From there, the destination profile translates PCS values into device values such as CMYK or the ink channels of a printer driver.

The actual mapping logic is usually built into the destination profile rather than calculated on the fly. An output profile contains separate lookup tables, called BToA tables, for the perceptual, relative colorimetric and saturation intents. The profile vendor decides how out-of-gamut colors are compressed when the profile is built, which is why two profiles for the same printer and paper can render the same image differently.

Every gamut mapping algorithm answers three questions: which direction an out-of-gamut color moves, how far it moves, and whether in-gamut colors are also moved to make room. The table below summarizes the main strategies.

StrategyWhat it doesTypical effect on the image
ClippingMoves only out-of-gamut colors to the nearest gamut boundary pointAccurate in-gamut colors, possible loss of detail in saturated areas
CompressionScales all colors toward the center so the whole range fitsSmooth gradations, slightly lower overall saturation
Knee functionLeaves a core region untouched and compresses only near the boundaryBalanced result used by many modern perceptual tables
Lightness mappingRescales source black and white points to destination limitsPreserves shadow detail on papers with a weak black
Core gamut mapping strategies

Gamut boundaries and mapping directions

A gamut boundary is a three-dimensional solid in L*a*b* space, not a flat triangle. A glossy inkjet paper may reach strong blues and greens but lose saturation in light cyans, while a press on uncoated stock has a much smaller gamut and a black point that may sit near L* 20 to 30 instead of the L* 2 to 5 of a good photo paper.

The direction of mapping strongly affects the visual result. Algorithms typically hold hue constant, because the eye forgives a loss of saturation far more readily than a hue shift. The choice is then mainly between keeping lightness constant and trading some lightness to retain chroma.

DirectionWhat is preservedMain risk
Constant lightnessTonal value of each colorSaturated colors become dull
Toward a fixed center pointOverall balance between lightness and chromaLight or dark saturated colors change brightness
Minimum color differenceSmallest Delta E per colorNeighboring colors may merge, causing banding
Cusp-based mappingPeak chroma at each hueComplex to build, depends on profile quality
Mapping directions and their trade-offs

Hue preservation is not perfect in CIE L*a*b*, which is not perceptually uniform in hue, especially in the blue region where constant-hue lines curve toward purple. Better profiling software corrects for this using spaces such as CIECAM02 or CAM16 to keep blues from drifting purple after compression.

Gamut mapping compared with rendering intents and soft proofing

Gamut mapping is the underlying mechanism, while a rendering intent is the user-facing choice that selects which mapping is applied. Soft proofing is a separate step that simulates the result on screen before printing. The terms are closely related but describe different layers of the workflow.

ConceptRoleRelation to gamut mapping
Gamut mappingMoves colors into the destination gamutThe core operation itself
Rendering intentSelects perceptual, relative, saturation or absolute behaviorChooses which mapping table is used
ICC profileDescribes a device and stores mapping tablesCarries the vendor’s mapping decisions
Soft proofingPreviews the printed result on a monitorShows the consequences before ink is used
Gamut warningMarks colors outside the destination gamutIdentifies where mapping will act
How gamut mapping relates to neighboring concepts

The ICC specification defines what each intent should achieve but does not prescribe an algorithm for perceptual mapping. That freedom explains why perceptual results differ between profiling packages, while relative colorimetric behaves more consistently: in-gamut colors stay accurate after white point adaptation and out-of-gamut colors are clipped.

Choosing a gamut mapping approach for a print

The right approach depends on how much of the image lies outside the printer gamut and on whether that content carries important detail. Photographers usually decide between perceptual and relative colorimetric after soft proofing both, and they enable black point compensation with relative colorimetric to keep shadow detail.

SituationRecommended choiceReason
Mostly muted colors, portraits, skin tonesRelative colorimetric with BPCKeeps in-gamut colors exact
Saturated flowers, stage lighting, neonPerceptualRetains texture inside saturated areas
Matte fine art paper with limited blackPerceptual or relative with BPC, compared in soft proofShadow compression is the main concern
Logo or spot color matchingRelative or absolute colorimetricExact color takes priority over gradation
Business graphics and chartsSaturationVivid fills matter more than accuracy
Decision guide for common printing situations

Local editing often outperforms any global mapping. Reducing saturation selectively in the few out-of-gamut areas, using a hue and saturation adjustment while soft proofing, gives the photographer control that an automatic algorithm cannot offer.

Common mistakes and limitations

Most gamut mapping problems come from wrong expectations or wrong settings, not from the algorithms themselves. The following points account for the majority of disappointing prints.

  • Double color management: letting both the editing application and the printer driver manage color applies two conversions and distorts the mapping.
  • Assuming perceptual is always better: on images that are already in gamut, a perceptual table may still desaturate colors needlessly.
  • Ignoring the paper profile: mapping is only as good as a profile made for the exact printer, ink and paper combination.
  • Editing in an unnecessarily wide space without checking gamut warnings, then being surprised by flat saturated areas.
  • Trusting the gamut warning alone: it marks colors outside the gamut but does not show how badly they will be compressed.

A fundamental limitation remains: no mapping can create colors the device cannot print. Gamut mapping only decides which compromise is least visible, and a well-calibrated soft proof is the most reliable way to judge that compromise before printing.

A plain-language summary

Every printer and screen can show only a limited set of colors. A photo often contains colors that are brighter or more intense than a printer can make with its inks. Gamut mapping is the rule that decides what to do with those colors.

Imagine pouring a large box of crayons into a smaller box. You can drop the crayons that do not fit and keep the rest exactly as they were, or you can swap every crayon for a slightly softer shade so the whole set still fits together. Both choices are compromises, and the right one depends on the picture.

An example from practice

A landscape photographer prepares a 40 x 60 cm print of a lavender field at sunset, edited in ProPhoto RGB, on a matte cotton rag paper. The gamut warning marks large areas of the violet flowers and the orange sky as unprintable. With relative colorimetric, the soft proof shows the lavender rows turning into flat purple patches with no visible texture.

Switching the soft proof to perceptual restores the texture of the flowers at the cost of a slightly less vivid sky. The photographer then keeps relative colorimetric with black point compensation but reduces saturation in the violet range by about 15 percent with a local adjustment. The final print keeps accurate midtones, detailed flowers and a convincing sunset, and it matches the soft proof closely under a daylight viewing lamp.