[Tex/LaTex] Colors Not Rendering Correctly

color

After invoking the 'color' package with the command

\usepackage[pdftex]{color}

I defined a new color using CMYK values. More specifically, I set

\definecolor{mybluegray}{cmyk}{.33,.11,.01,0}

However, the color rendered in the document is not the same with color rendered in, say, Adobe Photoshop. To be more precise, I opened the PDF file in Photoshop and checked the CMYK values there, and Photoshop says the color in my document has CMYK values {.25,.08,.04,0}. Can anyone give me some clue on what's going on?

(By the way, I compiled my document on both Mac and Linux machines, and they produce the same color.)

Best Answer

This is not a perfect answer, but I did find a work around to my problem. Instead of defining the color using CMYK values, I tried defining it using RGB values:

\definecolor{mybluegray}{rgb}{.58,.67,.81}

The original definition has RGB values (149,172,207) in terms of 0-255 scale. The rendered color is the same as I wanted; I opened the document with Photoshop, and the Photoshop says that the rendered color has RGB values exactly (149,172,207).

So my conclusion is that the 'color' package is not perfect in rendering colors using CMYK values.

Further experiment, however, shows that not all RGB definitions work well. It seems that the definitions using the RGB values for the so called web-colors work best.

Related Question