What is a Color Gamut?
A color gamut is the range of colors that a device can produce. A color is either in gamut or out of gamut for a given screen or printer.
What a gamut is
W3C defines the gamut as the range of colors that a given device can produce. The gamut of a red green blue (RGB) display depends on two things. The first is the chromaticity of its red, green and blue primaries. The second is its white point. Different devices have different gamuts, so one color can be in gamut on one screen and out of gamut on another.
An RGB color is in gamut when all three components lie in the range 0 to 1. A component below 0 or above 1 means the color is out of gamut for that color space .
How a gamut is drawn
Chromaticity is a pair of coordinates, x and y, from the CIE 1931 standard observer. A plot of x against y is a chromaticity diagram. Each primary is one point. The three points make a triangle. Every color that the device can mix lies inside the triangle.
The primaries of the three common gamuts, from W3C CSS Color Level 4, are:
| Space | Red x, y | Green x, y | Blue x, y |
|---|---|---|---|
| sRGB | 0.640, 0.330 | 0.300, 0.600 | 0.150, 0.060 |
| Display P3 | 0.680, 0.320 | 0.265, 0.690 | 0.150, 0.060 |
| Rec. 2020 | 0.708, 0.292 | 0.170, 0.797 | 0.131, 0.046 |
All three use the D65 white point, at x = 0.3127 and y = 0.3290.
Common gamuts
- sRGB is the space for legacy
rgb()colors on the web. It is the smallest of the three gamuts here. - Display P3 uses the primaries of the digital cinema projector standard (DCI-P3) with a D65 white point. W3C states that modern TVs, laptop screens and phone screens reproduce all or nearly all of it.
- Rec. 2020 is the space for Ultra High Definition, 4k and 8k television. W3C notes that current displays cannot reproduce its full gamut.
Worked example: how much larger is one gamut than another
Take the three corners (x1, y1), (x2, y2) and (x3, y3). The area is half of the absolute value of x1(y2 - y3) + x2(y3 - y1) + x3(y1 - y2). Apply it to the table above.
- sRGB: area 0.1121 in xy units.
- Display P3: area 0.1520. This is 0.1520 / 0.1121 = 1.36 times sRGB.
- Rec. 2020: area 0.2119. This is 1.89 times sRGB.
W3C measures the volume in the Lab color space instead. It gives 0.820 million Lab units for sRGB, 1.233 million for Display P3 and 2.042 million for Rec. 2020. Those ratios are 1.50 and 2.49. The numbers differ because a triangle in xy has no lightness axis. Always name the method when you quote a “percent of sRGB” figure.
Out-of-gamut colors
When a color is out of gamut, software applies gamut mapping. CSS uses a relative colorimetric intent. The color becomes a similar-looking color with lower chroma. Lower chroma means it looks less saturated. W3C gives this example: a ProPhoto RGB color of 0.88, 0.45, 0.10 is out of gamut for a Display P3 screen.
Gamut and gamma are different
Gamma, called the transfer function, tells how a number from 0 to 1 maps to brightness. The gamut tells which colors can be reached. sRGB and Display P3 share the sRGB transfer function, and they have different gamuts. W3C also defines an sRGB-linear space with the same primaries as sRGB and no gamma encoding.
Common mistakes
- Treating a larger gamut as a better screen. A wide gamut only helps if the content and the software use it.
- Comparing gamut percentages that use different methods or different reference spaces.
- Confusing gamut with gamma, and with brightness.
Color gamut and airfield lighting
Color gamut is a display and print term. It does not set the colors of airfield lights. ICAO Annex 14 Appendix 1 and CS ADR-DSN.U.930 give chromaticity boundaries in x and y for red, yellow, green, blue, white and variable white. There is one set for filament-type lights and one set for solid-state lights. The color of a light is checked against these boundaries.
The red boundaries explain how the test works. The red region lies between the purple boundary y = 0.980 minus x and the yellow boundary y = 0.335. Pure spectral red has x + y close to 1.0. A valid red has x + y of at least 0.980, and y not above 0.335. For a visual approach slope indicator, which includes the precision approach path indicator (PAPI), y must not exceed 0.320.
This arithmetic example only illustrates the check, because a screen primary is not an airfield light. The sRGB red primary at x = 0.640, y = 0.330 has x + y = 0.970, which is below 0.980. It is not red enough for the purple boundary, and its y of 0.330 is above the PAPI limit of 0.320. The Display P3 red at x = 0.680, y = 0.320 has x + y = 1.000 and y = 0.320. It meets both limits.
Frequently Asked Questions
- What is a color gamut?
- A color gamut is the range of colors that a given device can produce. W3C CSS Color Level 4 uses this definition. A color is either in gamut or out of gamut for a screen or a printer.
- Gamut is the range of what a device can produce, record and represent?
- The answer is colors. A gamut is the range of colors that a device can produce. For an RGB display, the three primary chromaticities and the white point set its limits.
- What does out of gamut mean?
- A color is out of gamut when a given screen or printer cannot produce it. Software then gamut maps it, which replaces it with a similar color that has lower chroma. Lower chroma means less saturated.
- Which is larger, sRGB or Display P3?
- Display P3 is larger. W3C gives sRGB a volume of 0.820 million Lab units and Display P3 a volume of 1.233 million. Rec. 2020 is larger again at 2.042 million.
- What is the difference between color gamut and gamma?
- Gamut is which colors a device can reproduce. Gamma, or the transfer function, is how a number maps to brightness. sRGB and Display P3 share one transfer function but have different gamuts.
- Which color space is used for 4k and 8k television?
- Rec. 2020 is used for Ultra High Definition, 4k and 8k television. W3C notes that current displays cannot reproduce its full gamut.
- Can a phone or laptop screen reproduce Display P3?
- Many can. W3C states that modern TVs, laptop screens and phone screens reproduce all or nearly all of the Display P3 gamut. Older screens that cover only sRGB cannot.
- Does color gamut affect airfield light colors?
- No. ICAO Annex 14 Appendix 1 and CS ADR-DSN.U.930 set light colors as chromaticity boundaries, not as the gamut of a device. A screen gamut only changes how a picture of a light looks.
References
- w3c-css-color-4
- CSS Color Module Level 4 W3C
- itu-r-bt-2020
- Recommendation ITU-R BT.2020, Parameter values for ultra-high definition television systems for production and international programme exchange ITU-R
- itu-r-bt-709
- Recommendation ITU-R BT.709, Parameter values for the HDTV standards for production and international programme exchange ITU-R
- icao-annex-14-vol-i
- Annex 14, Aerodromes, Volume I, 9th edition (July 2022), Appendix 1 ICAO (copy hosted by Swiss FOCA)
- easa-ear-aerodromes
- Easy Access Rules for Aerodromes (Regulation (EU) No 139/2014), Issue 7, CS-ADR-DSN EASA
This is a reference entry. TarmacView provides drone inspection services and doesn't sell the equipment or materials described in this glossary.