Chapter 15: Color in screen and print
A color on screen is a mix of light; a color on paper is ink that absorbs light. The same numbers can therefore look different on two phones, and a logo that glows on a monitor can print flat and dull. Anyone who sends work to both screens and printers has to manage that gap.
RGB and CMYK
RGB is the color model of screens, cameras and scanners: each pixel is described as amounts of red, green and blue light, added together (→ 13 Color basics and relationships). In most files each channel runs from 0 to 255, so rgb(255 255 255) is white and rgb(0 0 0) is black.
CMYK is the model of color printing: cyan, magenta, yellow and black ink, given as percentages from 0 to 100. The K stands for key, the printer’s name for the black plate.1 Inks subtract light from white paper, so more ink means darker color. A press can’t vary how thick its ink is from point to point, so it prints each ink as a halftone, a pattern of dots that are larger in dark areas and smaller in light ones. Colors built this way from the four inks are process colors. Looked at under a loupe, a printed photograph is rows of four-colored dots; at reading distance, the eye blends them.
Slippens (original) and Pbroks13 (vector), public domain, via Wikimedia Commons.
Convert from RGB to CMYK once, as late as possible, and to the profile your printer gives you (→ 38 Prepress and printing). Each conversion throws colors away, and a file converted for one press isn’t right for another.
Spot color and Pantone
A spot color is an ink mixed to a formula before printing and laid down from its own plate, instead of being built from CMYK dots. Designers use spot colors for three reasons: to hit a brand color exactly on every run, to print colors CMYK can’t make (fluorescents, metallics, some bright oranges and greens), and to save money on one- or two-color jobs such as letterheads, where four plates would be wasteful.
The Pantone Matching System is the best-known set of spot colors. Lawrence Herbert, who had started working part-time at Pantone, a small New Jersey printing company, in 1956, bought its printing division in 1962 and published the Pantone Matching System Printers’ Edition in 1963.2 Before it, printers mixed ink from about 60 pigments by trial and error. Herbert’s system gave each color a number and a formula from a small set of base inks, which licensed ink makers produced.2 A designer in one city could specify a number and a printer in another could mix it. Japan mostly uses another proprietary system, the DIC Color Guide from DIC Corporation.3
Two cautions. Swatch books fade and vary by paper, so check against a current printed guide, not a screen. And many spot colors shift visibly when converted to CMYK, because their ink sits outside the CMYK gamut.
Color spaces and gamut
A color model is a way of writing color as numbers, such as RGB or CMYK. A color space ties those numbers to measured colors by fixing the primaries, the white point and the response curve. “RGB 255, 0, 0” is a model value; “sRGB 255, 0, 0” is one specific red. The CSS Color 4 specification lists several RGB spaces, including sRGB, Display P3, Adobe RGB (1998) under the name a98-rgb, ProPhoto RGB and Rec. 2020.4
sRGB is the default. Hewlett-Packard and Microsoft proposed it in 1996 as a standard color space for the internet, based on the average performance of PC displays,5 and the IEC published it as IEC 61966-2-1 in 1999.6 Browsers treat untagged images and CSS colors as sRGB.4 Display P3 uses the primaries of the DCI-P3 cinema standard with sRGB’s white point and curve.4 Many current displays can show all or nearly all of it, and by the specification’s measure its gamut is about 50% larger than sRGB’s.4

Mukk, public domain, via Wikimedia Commons.
A gamut is the range of colors a device, ink set or color space can reproduce. A color the destination can’t produce is out of gamut and has to be replaced with a near one. Offset CMYK can’t reach many of the saturated colors a screen shows, and the two solids in Figure 15.2 overlap only in part. That is why a screen design can lose its brightest colors in print without any mistake by the printer.
ICC profiles and color management
Color management is the use of profiles and software to convert color from one device to another so that it looks as alike as the two gamuts allow.7 An ICC profile is the file that makes it work: data describing how one device’s color numbers relate to a standard reference.7 The format comes from the International Color Consortium, which eight companies set up in 1993 to make color management work across platforms and vendors.8 Monitors, printers, presses and color spaces all have profiles; a monitor profile is what a calibration tool writes.
A conversion goes from the source profile into a device-independent reference, the profile connection space, and out through the destination profile.7 Out-of-gamut colors are handled by the rendering intent you choose:79
| Intent | What it does | Typical use |
|---|---|---|
| Perceptual | Compresses the whole gamut to fit, keeping relationships between colors | Photographs |
| Saturation | Keeps colors vivid at the cost of accuracy | Charts and business graphics |
| Relative colorimetric | Keeps in-gamut colors exact and clips the rest; maps source white to paper white | Graphics where in-gamut colors must stay exact |
| Absolute colorimetric | Like relative, but keeps the source white, so it simulates paper tint | Proofing one press on another |
A soft proof uses the printer’s profile to show on screen roughly how a file will print. It is only as good as your monitor’s calibration and the room’s light, so it doesn’t replace a printed proof (→ 38 Prepress and printing).
Hex, HSL and OKLCH
A hex code is an sRGB color written in hexadecimal: a hash and then two digits each for red, green and blue, from 00 to FF. #1A73E8 is red 26, green 115, blue 232. CSS also accepts three-digit shorthand, where #123 means #112233, and eight digits, where the last pair is opacity.4 Hex is compact and universal, and says nothing a person can read at a glance.
HSL rearranges the same sRGB colors as hue (an angle on a color wheel), saturation and lightness. It is easier to edit by hand, but its lightness isn’t what people see. CSS Color 4 points out that sRGB blue and yellow both have an HSL lightness of 50%, yet yellow looks far lighter, and that changing hue in HSL changes apparent lightness too.4 A palette built by stepping HSL lightness gives uneven steps across hues.
OKLCH is the cylindrical form of Oklab, a color space Björn Ottosson published in 2020 to predict perceived lightness, chroma and hue better than older spaces such as CIELAB, which handles blue hues poorly.10 In CSS, oklch(L C H) takes lightness from 0 to 1, chroma from 0 up to about 0.4 for most real colors, and a hue angle in degrees.4 The same blue and yellow come out at lightness 0.45 and 0.97, close to how they look.4 Because equal steps of L look roughly equal, OKLCH is a good space for building tonal scales and design tokens (→ 16 Building a palette), and it can describe Display P3 colors that hex can’t.
See also
- 13 Color basics and relationships
- 16 Building a palette
- 35 Resolution, formats and units
- 38 Prepress and printing
- 74 HTML and CSS
Sources
- DIC Corporation color system, as described in Oliver Healthcare Packaging (n.d.). “A guide to common color systems in APAC.”
- Encyclopedia.com. “Pantone, Inc.” (company history, from International Directory of Company Histories).
- IEC (1999). IEC 61966-2-1: Default RGB colour space: sRGB.
- International Color Consortium. “About ICC” and “Frequently asked questions.” https://www.color.org/
- Microsoft (2018). “Rendering intents.” Windows Color System documentation.
- Ottosson, B. (2020). “A perceptual color space for image processing.” December 23.
- Stokes, M., Anderson, M., Chandrasekar, S. and Motta, R. (1996). “A standard default color space for the internet: sRGB,” version 1.10. W3C.
- University of Wisconsin–Madison KnowledgeBase. Print glossary: “K.”
- W3C. CSS Color Module Level 4. Candidate Recommendation draft.
Notes
- University of Wisconsin–Madison KnowledgeBase, print glossary. https://kb.wisc.edu/55270 ↩
- “Pantone, Inc.” Encyclopedia.com. https://encyclopedia.com/books/politics-and-business-magazines/pantone-inc ↩ ↩
- Oliver Healthcare Packaging, “A guide to common color systems in APAC.” https://www.oliverhcp.com/news-and-resources/packtalk/a-guide-to-common-color-systems-in-apac ↩
- W3C, CSS Color Module Level 4, §3.5 (sRGB default), §5.2 (hex), §7 (HSL), §9 (Oklab and OkLCh), §10 (predefined spaces, gamut volumes). https://www.w3.org/TR/css-color-4/ ↩ ↩ ↩ ↩ ↩ ↩ ↩ ↩
- Stokes et al. (1996). https://www.w3.org/Graphics/Color/sRGB.html ↩
- IEC 61966-2-1:1999, published 1999-10-18. https://webstore.iec.ch/en/publication/6169 ↩
- International Color Consortium, FAQ. https://www.color.org/faqs.xalter ↩ ↩ ↩ ↩
- International Color Consortium, “About ICC.” https://www.color.org/abouticc.xalter ↩
- Microsoft, “Rendering intents.” https://learn.microsoft.com/en-us/windows/win32/wcs/rendering-intents ↩
- Ottosson, B. (2020). https://bottosson.github.io/posts/oklab/ ↩