Skip to main content
Participating Frequently
May 1, 2025 12:47 PM UTC
Answered

RGB to CMYK Problem

Hello, I have a color with RGB value (20,30,40). The CMYK value of this value is normally (50,25,0,84) but in the illustration, it is seen as CMYK (91,58,64,59) where I wrote this value. What is the reason for this? How can I solve it?

Doug A Roberts
Doug A RobertsCorrect answer
Community Expert
May 1, 2025 3:28 PM UTC

Hi Doug ,

I can explain it like this: I use this method in Excel when converting RGB values to CMYK  codes.

The RGB color model works with values ranging from 0 to 255.
To convert RGB to CMYK, I first normalize the RGB values to a scale of 0 to 1:

R' = R / 255 G' = G / 255 B' = B / 255

Then, I calculate the K value (black component) using the following formula max value:

K = 1 - max(R', G', B')

After that, I calculate the C, M, and Y values with these formulas (as long as K ≠ 1)

C = (1 - R' - K) / (1 - K) M = (1 - G' - K) / (1 - K) Y = (1 - B' - K) / (1 - K)

 

This is how the formulas are structured in Python, and I created mine based on these standard formulas. However, I'm currently facing an issue: the CMYK values generated by Excel and those shown in Adobe applications are different.

Now I'm unsure which one is more accurate.
If I need to work according to Adobe's system, then I should find or develop a new formula for Excel that matches Adobe's output.
On the other hand, if the values I get in Excel are correct, then I need to align Adobe applications accordingly.

 

 


As has been already stated in this thread: there is no single conversion formula.

14 replies

Doug A Roberts
Community Expert
Community Expert
May 1, 2025 1:00 PM UTC

What is the colour mode of your document?

What colour settings are you using?

What colour profile do you use for the conversion of RGB 20/30/40 to CMYK 50/25/0/84?

Which direction are you converting (RGB to CMYK or vice versa?)

Translate
Participating Frequently
May 1, 2025 1:39 PM UTC

My document's color mode is RGB. I usually work with RGB colors. But my colleagues work with cmyk values. I also converted it to cmyk from the sites I shared below and exported it, but we encountered color incompatibilities.

I am sharing the web pages I converted with it.
https://www.rapidtables.com/convert/color/rgb-to-cmyk.html

https://convertacolor.com/

 

I am sharing the color settings of my file with you in the attachment. 

 

 

 

Translate
Ton Frederiks
Community Expert
Community Expert
May 1, 2025 1:48 PM UTC

Use Adobe Color Management.

These websites use simple (but totally wrong) formulas to convert  RGB to CMYK.

Setup your Color Settings for the region you live in.

Translate