Sub topic 4
RGB, CMYK, spot colors and gray in print files
This chapter assumes you can tell RGB from CMYK in a layout application and can open a PDF in Acrobat or a similar viewer. You should also know what a PDF/X file is, from the previous chapter. Here you will learn how each color space behaves in a print PDF, what a preflight check flags, and how to choose a color workflow before you export.
Why the color space matters to the press
A color space is the system a file uses to describe a color. A screen mixes light, so it uses red, green and blue. A press lays down ink on paper, so it uses cyan, magenta, yellow and black, plus any extra inks the job calls for. The press does not understand RGB values. Someone has to convert them to ink amounts, and the question is who does it and when.
If you convert in your own workflow, you can check the result on screen and in a proof. If you leave it to the printer's system, the conversion happens with default settings you never saw. Colors can shift, and a rich photo can turn flat. The goal of a print color workflow is to make each conversion deliberate.
The four color spaces in a print file
RGB
RGB describes color by the amounts of red, green and blue light. Most cameras, phones and web graphics are RGB. The range of colors RGB can show (its gamut) is larger than what CMYK ink can reproduce. Very saturated blues, greens and oranges are the usual casualties.
RGB is not forbidden in a print PDF. PDF/X-3 and PDF/X-4 allow it when a proper output intent is present. PDF/X-1a does not allow it at all. Even where it is allowed, many printers ask for CMYK only, because they do not want to guess at the conversion.
CMYK
CMYK describes color by the amounts of cyan, magenta, yellow and black ink, each from 0% to 100%. It is the native space of offset and most digital presses. A CMYK value only has a defined appearance when you know the printing condition, such as coated paper on a sheetfed press. The same 80/20/0/0 looks different on uncoated stock. This is why the next chapter covers output intents.
Spot colors
A spot color is a single named ink, mixed in advance and printed on its own plate. Pantone colors are the common example. Spot inks are used for brand colors that must match exactly, for colors outside the CMYK gamut, and for special finishes such as varnish or foil.
Every spot color in a file costs the printer an extra plate or station, so the number of spots must match the job. A four-color job with a stray spot color becomes a five-color job.
In the file, a spot color is a separation color space. It carries a name (for example "PANTONE 485 C") and an alternate CMYK or Lab value that viewers use to show it on screen. If the printer converts spots to process, that alternate value is what they get.
Gray
Gray comes in two forms, and they behave differently:
- Gray color space (one channel). A single value from black to white. On press, a single-channel gray usually prints with the black plate only.
- CMYK gray. A gray built from all four inks. It can print with a color cast if the plates drift out of balance.
Black text and thin lines should use the black plate only (K only). A text color of 0/0/0/100 prints sharply from one plate. If the same text is built from four inks, tiny misregistration between plates makes the edges look fuzzy.
What each PDF/X version allows
| Feature | PDF/X-1a | PDF/X-3 | PDF/X-4 |
|---|---|---|---|
| Gray | Allowed | Allowed | Allowed |
| CMYK | Allowed | Allowed | Allowed |
| Spot colors | Allowed | Allowed | Allowed |
| RGB or Lab (color-managed) | Not allowed | Allowed with output intent | Allowed with output intent |
| ICC-based color | Not allowed | Allowed | Allowed |
PDF/X-1a is the strictest: everything must already be CMYK, gray or spot. PDF/X-3 and PDF/X-4 let you keep color-managed data in the file, and the conversion to the press condition happens later in the printer's workflow, using your output intent as the reference.
How color gets mixed up in practice
Most problems come from color arriving in the layout from several sources, and each source brings its own space. A typical document contains:
- Photos placed as RGB files.
- Logos placed as CMYK vector art.
- A brand color picked from a swatch library, which may be spot or process.
- Text set in black, which may be a swatch of 0/0/0/100 or the rich "registration" color.
Each of these can go wrong in a different way. An RGB photo is flagged or converted. A logo from another document may carry its own spot color. A swatch named "Black" in the layout may actually be four-color. The preflight report is how you find all of them.
Choosing a color workflow
You decide the workflow before you design, based on the printer's specification (see the earlier chapter on printer specs). There are three common workflows:
- Convert everything to CMYK early. Convert photos to the press condition's CMYK profile and design in CMYK. You see the final gamut as you work. This is the safest choice for PDF/X-1a, and the choice most printers prefer.
- Keep RGB until export. Design with RGB images and let the export convert to CMYK, using the output intent's profile as the destination. This preserves flexibility if the same file also goes to the web, but you see the gamut loss only at the end.
- Keep RGB in the PDF (PDF/X-4 only). The printer's system converts to the press condition. Do this only if the printer asks for it. Otherwise you hand over a decision you cannot check.
When the same design goes to print and screen, keep a master with RGB images and make a separate CMYK copy for the printer. Converting a CMYK file back to RGB does not bring the lost colors back.
What preflight checks for color
A preflight profile runs a set of rules against the PDF. For color, the usual rules are:
| Check | What it looks for | Typical result |
|---|---|---|
| RGB objects | Any image or vector filled with RGB | Error in X-1a, warning or error if the printer wants CMYK only |
| Spot color count | Number of separation colors in the file | Warning if above the expected number |
| Unexpected spot colors | Names that do not match the job | Warning or error |
| Gray and black text | Black text built from four inks | Warning |
| Registration color | Any use of the registration swatch outside marks | Error |
| Lab colors | Lab-defined colors | Error in X-1a |
Treat these as questions to answer, not only as items to clear. A flagged spot color might be a leftover from an imported logo that you can safely convert to CMYK. It might also be the brand color the client expects as a fifth ink.
Checking color in the exported file
You can inspect a finished PDF with free command-line tools. The tool pdfimages lists each placed image with its color space, which shows any RGB photos. Run it on the exported file:
pdfimages -list job.pdfIn the output, the color column shows rgb, cmyk, gray or icc. An rgb entry in a PDF/X-1a file means the export did not convert it. Check the ppi columns at the same time, because color and resolution problems often show up together.
To see how much ink each page uses, run Ghostscript's inkcov device:
gs -o - -sDEVICE=inkcov job.pdfEach page prints its coverage as fractions of the page for C, M, Y and K. If a page you designed as black and white shows nonzero cyan, magenta or yellow, something on it is built from color or a gray was converted to four inks. A page with 0.00000 0.00000 0.00000 in the first three columns uses only black.
Neither tool lists spot color names. Use the Output Preview or Separations Preview in Acrobat for that: switch on each plate and check that only the expected inks are listed.
Common errors and how to avoid them
- Unwanted spot colors. Imported PDFs, logos and swatch libraries bring them in. Look at the swatches panel and delete or convert unused ones before export.
- Photos in the wrong profile. A CMYK photo prepared for a different press condition looks off. Convert it to the profile your output intent uses, or keep it RGB and convert at export.
- Black built from four inks in small text. Set text under about 12 pt to K only. Use rich black only for large areas, as described in the chapter on ink limits.
- Converting gray to CMYK by accident. A gray image changed to CMYK ends up with ink on all four plates. Keep grayscale images in a gray color space when they are to print with black ink only.
- Assuming the screen is truth. An uncalibrated monitor and a missing soft proof hide gamut loss. Use a proof setup that simulates the output intent.
- Overprint surprises. A spot color set to overprint can look correct on screen and print wrongly, or the reverse. The chapter on overprint covers this.
Exercise
A client's one-color job is printed in black ink plus the brand color PANTONE 485 C. Your preflight run on the exported PDF/X-4 file reports three spot colors and some black text built from four inks. What do you check and change before you export again?
Show answer
Open the swatches panel and find the two unexpected spot colors, likely from an imported logo or an unused swatch. Convert them to CMYK or to black, or delete them, so only PANTONE 485 C remains as a separation. Change the black text to K only (0/0/0/100) so it prints from the black plate alone. Export again, run the preflight profile, and confirm in Separations Preview that only black and PANTONE 485 C are listed.
Exercise
You run gs -o - -sDEVICE=inkcov job.pdf on a black and white booklet, and page 4 shows a nonzero value in the cyan, magenta and yellow columns. Name two likely causes and one way to find the object.
Show answer
A photo or graphic was converted to CMYK so that its grays use all four inks, or text or a fill was built from a four-color black. Open the page in Acrobat's Separations Preview and switch off the black plate. Whatever remains visible is the object printing with color ink.