views:

394

answers:

4

Suppose there are two colors defined in CMYK:

color1 = 30, 40, 50, 60
color2 = 50, 60, 70, 80

If they were to be printed what values would the resulting color have?

color_new = min(cyan1 + cyan2, 100), min(magenta1 + magenta2, 100), min(yellow1 + yellow2, 100), min(black1 + black2, 100)?


Suppose there is a color defined in CMYK: color = 40, 30, 30, 100 It is possible to print a color at partial intensity, i.e. as a tint. What values would have a 50% tint of that color?

color_new = cyan / 2, magenta / 2, yellow / 2, black / 2?


I'm asking this to better understand the "tintTransform" function in PDF Reference 1.7, 4.5.5 Special Color Spaces, DeviceN Color Spaces


Update:

To better clarify: I'm not entirely concerned with human perception or how the CMYK dyies react to the paper. If someone specifies 90% tint which, when printed, looks like full intensity colorant, that's ok.

In other words, if I asking how to compute 50% of cmyk(40, 30, 30, 100) I'm asking how to compute the new values, regardless of whether the result looks half-dark or not.


Update 2:

I'm confused now. I checked this in InDesign and Acrobat. For example Pantone 3005 has CMYK 100, 34, 0, 2, and its 25% tint has CMYK 25, 8.5, 0, 0.5.

Does it mean I can "monkey around in a linear way"?

+3  A: 

No, in general you can't monkey around in a linear way with arbitrary color spaces and hope to see a result that corresponds to human perception. The general strategy is to convert from your color space into CIE Lab or Luv color space, do the transformation, then go back to your color space (which is lossy).

Excellent FAQ: http://www.poynton.com/notes/colour%5Fand%5Fgamma/ColorFAQ.html

Jonathan Feinberg
Hmm. If I convert cmyk 0,0,0,100 to whatever space and back, I wont get 0,0,0,100 for sure, am I right?So I convert 0,0,0,100 to CIE or RGB, there I cut it to half, and I convert it to CMYK, I'll get something like 21,17,12,36...? I assume, I better want 0,0,0,50. But thanks for the link, have to dive into it.
Pete
A: 

To answer your first question:

color_new = min(cyan1 + cyan2, 100),
            min(magenta1 + magenta2, 100),
            min(yellow1 + yellow2, 100),
            min(black1 + black2, 100)

If this had been RGB values it would result in saturated colours (i.e. colours at or near white). The converse will be true for the CMY part of the CMYK colour - they will tend to black (well practically dark brown). The addition of black means that you get pure black (thanks Skilldrick). After all if you have 100% black and any combination of CMY the result will be black.

Re your second update I would expect that the results you obtained from Acrobat would apply universally.

ChrisF
CMY actually tends to black at saturation, the K is just there to ensure a pure black, not a murky brown.
Skilldrick
+1  A: 

Supposing C,M,Y,K are the % of ink to print. Adding two colors would be:

C = min(100,C1+C2)
M = min(100,M1+M2)
Y = min(100,Y1+Y2)
K = min(100,K1+K2)

And then they must be normalized, because usually no more than three inks are printed, and an equal amount of C,M,Y is replaced by the same amount of black.

G = min(C,M,Y)  // Black amount produced by C,M,Y
C -= G
M -= G
Y -= G
K = min(100,K+G)

At this point, you may want to limit C+M+Y+K to some value like 240. You can also try G=min(C,M,Y,100-K).

Eric Bainville
It isn't true that no more than three inks are printed. Granted, this is usually the case, but there are exceptions. The so called 'rich black' is a mix of key (black) with CMY.
Rafał Dowgird
Ok, I edited my answer to include your remark, based on some info I found on the internet.
Eric Bainville
Thanks for the detailed technique.
Pete
+1  A: 

If you're just doing tints of colours then a straight multiplication will be fine - this ensures that the inks will all be in the same ratios.

You can see this by bringing up the Colors panel in InDesign, and holding down shift and dragging one of the colour sliders. The other sliders will move proportionally.

Adding two colours has the same effect as overprinting (where one colour is printed directly over another colour). So if 100% magenta and 100% cyan were printed, and then 100% black were printed on top, the result would be exactly the same as 100% magenta, 100% cyan and 100% black.

Skilldrick
This answer implies that percentages could go over 100%. If you overprint 100% black with 100% black, you end up with 200% black. Nothing wrong with that of course, since it's physically possible.
Mark Ransom