GameParticles
Colors

CMYK vs RGB: Print vs Screen Color Modes Explained

CMYK vs RGB in plain terms: RGB mixes light for screens, CMYK mixes ink for print. Learn the gamut difference, the conversion formula and when to use each.

Updated

RGB is the color model for screens and CMYK is the color model for print. RGB adds red, green and blue light together to make colors, while CMYK layers cyan, magenta, yellow and black ink to absorb light reflected from paper. Use RGB for anything viewed on a display and CMYK for anything going to a commercial printing press.

How RGB works

A screen starts black and adds light. Each pixel has red, green and blue sub-pixels, and each is set to an intensity from 0 to 255. All three at full strength make white, so RGB is called an additive model. rgb(255, 0, 0) is pure red and rgb(255, 255, 0) is yellow, because red and green light combine.

Web colors are RGB values in different notations. A HEX code such as #ff6600 is the same three channels in base 16. The details are in HEX, RGB and HSL color codes explained.

How CMYK works

Paper starts white and ink removes light. Cyan ink absorbs red, magenta absorbs green and yellow absorbs blue. Each ink is written as a percentage from 0 to 100, the amount of coverage on the page. More ink means a darker result, so CMYK is called a subtractive model.

In theory, full cyan, magenta and yellow together make black. In practice real inks give a muddy dark brown, use a lot of ink and make small text hard to keep sharp. A fourth ink, black, fixes that. It is called K for key, the plate that traditionally carried the detail of the image.

CMYK vs RGB at a glance

RGBCMYK
Stands forRed, green, blueCyan, magenta, yellow, key (black)
MixingAdditive, lightSubtractive, ink
All channels at zeroBlackWhite (bare paper)
All channels at maximumWhiteBlack
Value range0 to 255 per channel0% to 100% per ink
Used forWebsites, apps, video, social mediaBrochures, packaging, business cards, magazines
Common file typesJPG, PNG, WebP, SVG, GIFPDF, TIFF, EPS, AI

Gamut: why prints look duller than the screen

A gamut is the range of colors a device can produce. The standard RGB space for the web, sRGB, contains colors that no mix of the four process inks can match. The usual casualties are saturated greens, deep blues, bright oranges and anything that looks like it glows.

Pure blue is the classic example. rgb(0, 0, 255) converts to 100 percent cyan and 100 percent magenta, which prints as a noticeably purple, darker blue. Nothing went wrong in the conversion. The ink simply cannot reflect that much blue light.

Two practical consequences:

  • Choose brand colors that survive both worlds. A logo color that only exists in RGB will never match on packaging.
  • Proof before a large print run. A printed proof, or a soft proof in software with the printer's color profile, shows the shift before you pay for it.

The RGB to CMYK formula

There is a simple formula that explains the relationship between the two models:

  1. Divide each RGB channel by 255 to get values between 0 and 1.
  2. K = 1 minus the largest of the three values.
  3. C = (1 - R - K) / (1 - K)
  4. M = (1 - G - K) / (1 - K)
  5. Y = (1 - B - K) / (1 - K)

If K is 1 the color is black, and C, M and Y are all 0.

Worked example with rgb(255, 102, 0). The channels become 1, 0.4 and 0. The largest is 1, so K is 0. Cyan is (1 - 1 - 0) / 1 = 0. Magenta is (1 - 0.4 - 0) / 1 = 0.6. Yellow is (1 - 0 - 0) / 1 = 1. The result is C 0, M 60, Y 100, K 0.

Going back from CMYK to RGB, each channel is 255 times (1 minus the ink) times (1 minus K). Red is 255 x (1 - C) x (1 - K), green uses M and blue uses Y.

ColorRGBCMYK from the formula
Red255, 0, 00, 100, 100, 0
Green0, 255, 0100, 0, 100, 0
Blue0, 0, 255100, 100, 0, 0
White255, 255, 2550, 0, 0, 0
Black0, 0, 00, 0, 0, 100
Mid gray128, 128, 1280, 0, 0, 50
Orange255, 102, 00, 60, 100, 0
The formula is an approximation. It ignores the paper, the inks and the press. Real conversions use an ICC color profile that describes a specific printing condition, so the same RGB color gets different CMYK values for coated and uncoated paper. Use the formula to understand the idea, and design software with the printer's profile for the actual file.

Converting a design for print

  1. Ask the printer for their specification first: color profile, bleed, resolution and whether they want CMYK or will accept RGB.
  2. Convert in software that supports color profiles, such as Photoshop, Illustrator, InDesign or Affinity. Convert once, at the end, from the RGB original.
  3. Check the colors that shifted. Blues, greens and oranges move the most. Adjust them by eye in CMYK if the result looks wrong.
  4. Use plain 100 percent K for small black text so it prints from a single plate and stays sharp. Large black areas often use a rich black with some cyan, magenta and yellow underneath. The exact mix depends on the printer, so use the one they give you.
  5. Export a print PDF with the settings the printer asked for.

If a color must match exactly, such as a brand color across many jobs, printers use premixed spot inks like the Pantone system instead of building it from the four process inks.

Do not convert web images to CMYK. Browsers and phones work in RGB, and a CMYK JPG can display with wrong colors or fail to load in some software.

What the Color Converter covers

The Color Converter works with screen formats. Enter a HEX code or use the picker, and it returns rgb() and hsl() values plus a CSS variable line. It does not output CMYK, because a correct CMYK value depends on a print profile that a general converter cannot know.

It is still the first step in the manual method. Take the brand HEX from your style guide, read its three RGB channel values in the Color Converter, and run them through the formula above for a starting CMYK estimate. Treat that as a draft and confirm the final numbers with your printer or design software.

If you are choosing colors rather than converting them, the Color Palette Generator builds harmonies with tint and shade scales from one HEX value, and the Contrast Checker confirms text stays readable on screen. More tools are in the colors category.

Try it

Paste your brand color into the Color Converter, copy the RGB values, and work through the five-step formula to see roughly how much of each ink it needs. If cyan and magenta both land near 100, expect that color to shift in print.

Tools in this guide

Frequently asked questions

Should I design in RGB or CMYK for print?

For commercial printing, supply CMYK files unless the printer says otherwise, using the color profile they recommend. Many designers work in RGB and convert at export. Home and office printers expect RGB and do the conversion in the driver.

Why do my colors look dull when printed?

Screens emit light and can show saturated colors that ink on paper cannot reproduce. Bright greens, electric blues and neon tones fall outside the CMYK gamut, so they are replaced with the nearest printable color, which looks flatter.

How do I convert RGB to CMYK?

Divide each channel by 255, set K to 1 minus the largest value, then compute C, M and Y as (1 minus the channel minus K) divided by (1 minus K). For accurate print results, convert in design software using an ICC profile instead.

What does the K in CMYK stand for?

K stands for key, the printing term for the plate that carries the detail of an image, which is normally black. Black ink is added because mixing cyan, magenta and yellow gives a muddy dark brown, not a clean black.

More colors guides

JSON Formatter
Developer · Format, validate and minify JSON with syntax highlighting.
↵
Base64 Encode / Decode
Developer · Encode text to Base64 or decode Base64 back to plain text.
↵
URL Encoder / Decoder
Developer · Encode or decode URL components and query strings.
↵
Hash Generator
Developer · Generate MD5, SHA-1, SHA-256 and SHA-512 hashes.
↵
UUID Generator
Developer · Generate UUIDs v4 (random) in bulk with one click.
↵
Regex Tester
Developer · Test regular expressions against text with live match highlighting.
↵
Word Counter
Text · Count words, characters, sentences, paragraphs and reading time.
↵
Case Converter
Text · Convert text between UPPER, lower, Title, camelCase, snake_case and more.
↵
List Sorter
Text · Sort, reverse, deduplicate and shuffle lists of text.
↵
Markdown Preview
Text · Write Markdown and see a live rendered preview side by side.
↵
Percentage Calculator
Numbers · Calculate percentages, increases, decreases and what % one number is of another.
↵
Color Converter
Colors · Convert colors between HEX, RGB, HSL and HSV instantly.
↵
Snake
Arcade · Eat food, grow longer, don't hit the walls. A timeless classic.
↵
2048
Puzzle · Slide tiles and combine them to reach the legendary 2048 tile.
↵
Word Grid
Puzzle · Guess the hidden five letter word in six tries using color clues.
↵
Sudoku
Puzzle · Fill the 9x9 grid with logic. Four difficulties from easy to expert.
↵
Minesweeper
Strategy · Use number clues to clear the minefield. Classic logic, three levels.
↵
Breakout
Arcade · Smash every brick with paddle and ball. Power-ups, combos, endless levels.
↵
Typing Practice
Casual · Build your WPM and accuracy with timed drills from 30 seconds to 5 minutes. Find your weak keys.
↵
TypeRunner
Arcade · Multiplayer typing race. Race friends by link, beat computer runners, or chase your own ghost.
↵
Typing Blocks
Arcade · Type each word before its wooden block lands. Miss, and the pile climbs toward the line.
↵
Bubble Shooter
Arcade · Aim, bank shots off the walls, and pop groups of three or more bubbles.
↵
Road Rush
Arcade · Race seven rivals through traffic and punch your way to the front.
↵