Dev.to WebDev 🛠 Dev 👁 0 📖 5 min read

Chrome exports RGB. Your printer wants CMYK. Here is where the colour actually moves

A print job rarely fails on press. It fails at export, when a colour that was only ever a screen value gets turned into ink by a tool nobody chose deliberately. We ran a small experiment on our own brand orange to see h

Chrome exports RGB. Your printer wants CMYK. Here is where the colour actually moves

A print job rarely fails on press. It fails at export, when a colour that was only ever a screen value gets turned into ink by a tool nobody chose deliberately.

We ran a small experiment on our own brand orange to see how large that turn can be. Everything below comes from files produced during this test, not from a colour wheel or a vendor brochure.

Conceptual dark-studio still life: an orange ink ribbon peels off a printed swatch strip on a proof sheet, beside a steel loupe and an ink roller. Headline: Your hex code is not the ink. Design Den Solutions, +91 98721 90965, www.designdensolutions.com

What we measured

We converted four sRGB values to CMYK through the ICC profiles installed on a Windows machine: sRGB Color Space Profile.icm as the source, RSWOP.icm (US Web Coated SWOP) as the destination, relative colorimetric intent with black point compensation, using LittleCMS via Pillow. Then we converted the CMYK back to sRGB and computed CIEDE2000 between the original and the round trip.

Swatch ICC CMYK (%) Back to sRGB dE2000
Brand orange #F25A1B C0.4 M87.1 Y93.7 K0.8 #E54224 7.72
Near-black text #111111 C3.1 M4.3 Y3.5 K93.3 #181C1C 3.99
Paper #F3F1ED C3.9 M3.9 Y6.7 K0.4 #F6F0E7 2.58
White #FFFFFF 0 0 0 0 #FFFFFF 0.00

Two things stand out.

The orange does not come back as itself. A dE2000 of 7.7 is not a rounding error; placed side by side, #F25A1B and #E54224 do not read as the same orange. The screen value survives as a request, not as a result.

The near-black does not convert to pure black. It picks up 3.1% cyan, 4.3% magenta and 3.5% yellow, for a total ink coverage of 104.2%. That is fine for a large solid area and wrong for small type, where four plates in registration produce fringing on any press that is not perfectly aligned.

Caveat before anyone quotes the table: SWOP describes a US web-offset condition on coated stock. A printer in another market will name a different profile, and the numbers will move. The point is the method, not this specific recipe.

The conversion you did not make still happened

Most quick converters use arithmetic, not colour management. The usual formula derives K from the largest channel and scales the rest:

k = 1 - max(r, g, b)
c = (1 - r - k) / (1 - k)
m = (1 - g - k) / (1 - k)
y = (1 - b - k) / (1 - k)

Run that on #F25A1B and you get C0 M62.8 Y88.8 K5.1. The ICC-managed conversion gives C0.4 M87.1 Y93.7 K0.8. Both files can look "converted"; the magenta differs by 24 percentage points, and the arithmetic version puts black ink into a colour that should have almost none.

That is why two people can follow the same brief and hand back visibly different oranges. Neither file is corrupt. They were built against different definitions of what CMYK means for this job.

Your browser cannot write CMYK

We exported a one-page test from Chrome with --print-to-pdf and audited the content stream:

7 x rg / RG operators
0 x k / K operators
0 x scn / SCN operators
/OutputIntents: None

The orange appears as .949 .3529 .1059 rg, which is 242/90/27 divided by 255. The PDF is pure device RGB. It declares no output intent, so it does not say which press condition it expects. In this one-page test the page resources contained only ProcSet, ExtGState and Font, with no image or ICCBased colour space.

print-color-adjust: exact will force a background colour to print, and it is worth adding. It does not change the colour model. No CSS property does. Browsers are RGB devices, and the conversion has to happen downstream in a colour-managed step, using a profile that describes the actual press.

For a printer asking for PDF/X-4, that step is not optional: PDF/X requires an output intent, and a browser export does not have one.

The handoff that survives a press check

  1. Ask the printer for four things before you export: the CMYK profile name, the total ink limit, the PDF/X level they want, and what proof they supply. Write the answers into the job file.
  2. Convert once, from the sRGB master, with that profile. Keep the master. Never convert an already-converted file to a second profile; each conversion is lossy and the drift compounds.
  3. Set small black text to K-only. Reserve rich blacks for large solids, and check the total ink figure against the printer's limit.
  4. Record the target as numbers, not as a hex code: the CMYK recipe or a Lab value, plus the profile name. A hex code cannot describe ink.
  5. Approve a physical proof for brand colour. If the job is remote, ask for a soft proof rendered with the same profile, then compare it under neutral light rather than office lighting or a phone screen.

One more rule that costs nothing: do not re-convert because a preview looked dull. A soft proof on an uncalibrated monitor is not evidence. The numbers and the physical proof are.

A 30-second audit for any PDF

Before a file leaves your hands, check what is actually inside it:

from pypdf import PdfReader

pdf = PdfReader("export.pdf")
page = pdf.pages[0]
stream = page.get_contents().get_data()

for op in (b" rg", b" RG", b" k", b" K", b" scn", b" SCN"):
    print(op.decode().strip(), stream.count(op))

print("output intents:", pdf.trailer["/Root"].get("/OutputIntents"))

If you see only rg/RG and no output intent, the file is RGB and says nothing about the press. Hand it to a conversion step you control, or accept that the printer's RIP will make that decision for you, with a profile you did not choose.

None of this makes screen colour and print colour identical. It makes the difference deliberate, documented, and repeatable, which is the most a brand colour can ask for across two media that work in fundamentally different ways.

Design Den Solutions handles print-ready artwork and colour handoff as part of its graphic design service in Mohali, covering flyers, brochures, packaging and the screen versions that go with them. Phone +91 98721 90965.

Article and image prepared with AI assistance and reviewed for accuracy by Design Den Solutions. The image is a conceptual illustration, not a photograph of a real press sheet.

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.