RGB to CMYK

Type three channel numbers and read the ink percents beside the matching hex color.

Use this tool

Result

The result appears in this panel after you run the tool.

About this tool

Pure red is cyan 0, magenta 100, yellow 100, and black 0. Black RGB is 0, 0, 0, 100. White is four zeros.

Opening CMYK to RGB fills the four ink fields from the stored record. The on-screen reading still begins with hex, and the inks are not a press proof.

How to use it

  1. Enter red, green, and blue as whole numbers from 0 to 255.
  2. Convert. The first line is a lowercase hex color. The CMYK line uses the same sRGB formula as Color Converter.
  3. Open CMYK to RGB from Reverse when you want those percents turned back into channels.

Limitations

Three light channels, four ink percents

What the three boxes mean

Red, green, and blue are stored as whole numbers. Zero is none of that light. 255 is the full sRGB channel. A decimal such as 10.5 is rejected, and so is 256 or a minus sign. The page does not accept a hex field here. If you already have #ff0000, Color Converter can read it and will print the same ink line this page prints for 255, 0, 0.

The conversion divides each channel by 255. Black ink is one minus the brightest of those three unit values. When that black ink is total, the other three inks are reported as zero so a black pixel is not also painted cyan, magenta, and yellow. Otherwise each remaining ink is the gap between full light and that channel, with the black portion removed, then scaled to a percent and rounded to an integer. Pure red therefore reads 0, 100, 100, 0. Pure white reads 0, 0, 0, 0. Pure black reads 0, 0, 0, 100.

Why the first line is still hex

Chain handoff on this site treats a color result as a color only when the first line is #RGB or #RRGGBB. The ink sentence is the second piece of the reading, marked approximate and not a press profile. A following contrast or blend tool prefills from that hex. It does not parse the percent line. If you need the percents in a spreadsheet, copy the CMYK line. The downloaded text file contains both.

What this will not match

A press shop separates plates with a profile for the paper, the ink set, and the printing condition. Those profiles can move a gray toward more cyan or more black, and they can limit total ink. None of that data is loaded. A glossy coated sheet and a newsprint web will not reproduce 100 magenta the same way. A monitor that is not sRGB can also paint the swatch differently from the numbers. Use the percents as a starting estimate, then proof on the device that will actually print.

Rounding to integer percents throws away fractions of a percent. Going back through CMYK to RGB can shift a channel by a couple of levels even when nobody changed the intent. That gap is the integer percent, not a second formula.

Privacy

Your input is processed in your browser and is not uploaded to UtilChain. File names, text, and results are not sent to analytics.