Skip to content
Omnikalc

RGB to CMYK converter: ink percentages for a screen color

Enter the red, green and blue values of a color to get the cyan, magenta, yellow and black percentages and the total ink coverage.

Updated on
Your inputs

Value out of range

Value out of range

Value out of range

Results

Black (key)

9.4%

Cyan
0.0%
Magenta
67.1%
Yellow
74.0%
Total ink coverage
151%

Screens show red, green and blue, and printers use cyan, magenta, yellow and black ink. The RGB to CMYK converter takes the red, green and blue values from 0 to 255 and gives the cyan, magenta, yellow and black percentages with the total ink coverage.

How the calculation works

  • Divide each channel by 255 to get red, green and blue values between 0 and 1.
  • Black (K) = 1 − the largest of the three values. This is the darkness left once the strongest channel is accounted for.
  • Cyan = (1 − red − K) ÷ (1 − K), magenta = (1 − green − K) ÷ (1 − K) and yellow = (1 − blue − K) ÷ (1 − K). If K is 1, the color is black and the three are 0.
  • Total ink coverage = C + M + Y + K, in percent. Many printers limit it to about 240% to 300% so that the ink dries.

Example

The red rgb(231, 76, 60) has channels of 0.906, 0.298 and 0.235. The largest is red, so K = 1 − 0.906 = 9.4%. Cyan is (1 − 0.906 − 0.094) ÷ 0.906 = 0%, magenta is (1 − 0.298 − 0.094) ÷ 0.906 = 67.1% and yellow is (1 − 0.235 − 0.094) ÷ 0.906 = 74.0%. The total ink is about 151%.

Why it matters

Designers who make a logo on screen and then print a flyer need the CMYK values for the print file. A quick conversion gives a first idea, and a check of total ink helps to avoid a file that a printer will reject.

Good to know

Treat the result as an approximation. Professional work uses a color-managed conversion, a printer’s profile and a printed proof. Colors outside the CMYK range, such as bright cyan and neon green, cannot be reproduced and are brought to the nearest printable value. Pure black text should use K only (0, 0, 0, 100) and not the converted rich value, to print sharp.

The print size calculator relates pixels to the size of a print and the photo storage calculator estimates the disk space of images.

Frequently asked questions

What is CMYK?

CMYK stands for cyan, magenta, yellow and key, where key is black. It is the set of inks used in most color printing. Colors on a screen are made by adding light, with red, green and blue, while printed colors are made by subtracting light with inks on white paper, which is why the two systems give different results.

Is this conversion exact?

No. The formula is the simple mathematical conversion used in many tools, and it ignores the color profile of the printer, the ink and the paper. A professional conversion uses ICC profiles, and bright screen colors, especially vivid blues and greens, often look duller in print. Ask the printer for a proof when color matters.

What is total ink coverage?

It is the sum of the four percentages. A pure black with all inks at 100% would have 400%, which a press cannot dry. Coated paper often allows about 300%, and newsprint about 240%. A profile-based conversion keeps the total within the limit.

Why is black used as a separate ink?

Printing black by mixing cyan, magenta and yellow gives a muddy brown, costs more ink and can blur small text. A separate black ink prints text sharp and saves color ink. The formula gives the black first and then removes it from the other three.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.