Talk:CMYK color model

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by BartYgor (talk | contribs) at 00:21, 16 August 2007 (→‎Why black is used). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

WikiProject iconColor Start‑class High‑importance
WikiProject iconThis article is supported by WikiProject Color, a project that provides a central approach to color-related subjects on Wikipedia. Help us improve articles to good and 1.0 standards; visit the wikiproject page for more details.
StartThis article has been rated as Start-class on Wikipedia's content assessment scale.
HighThis article has been rated as High-importance on the project's importance scale.

Old discussion

Adopted orphan redirects for searching: CMYK colour model


Can you convert the following RGB coordinates to CMYK??

Color    RGB         CMYK
Gray     128 128 128
Black    0   0   0
White    255 255 255
Red      255 0   128
Orange   255 83  0
Yellow   255 255 0
Lime     83  255 0
Green    0   255 128
Sea blue 0   172 255
Blue     0   0   255
Purple   172 0   255

66.32.71.96 02:21, 2 Apr 2004 (UTC)

Note: (or note to self :-P ) we need an RGB -> CMYK conversion formula, like on HSV color space , that'd be handy. Kim Bruning 12:38, 3 Apr 2004 (UTC)

Okay, let's snarf some formulas off of : http://www.easyrgb.com/math.php?MATH=M12#text12


(mathematics isn't copyrightable AFAIK, and I'll be rewriting anyway :-) ) and then rewrite them to 1 form:

// RGB -> CMY
//RGB values = From 0 to 255
// CMY values = from 0 to 1

C = 1 - ( R / 255 )
M = 1 - ( G / 255 )
Y = 1 - ( B / 255 )
//CMY values = From 0 to 1 

// and CMY-> CMYK
var_K = 1 

if ( C < var_K )   var_K = C
if ( M < var_K )   var_K = M
if ( Y < var_K )   var_K = Y

C = ( C - var_K ) / ( 1 - var_K )
M = ( M - var_K ) / ( 1 - var_K )
Y = ( Y - var_K ) / ( 1 - var_K )
K = var_K

Okay, so we'd better write that out tidily :-)


so let's see

finally:

for:

we can simply do:


Okay, as a sucky biologist, my math sucks. Can a real mathematician look this over before adding it to the main article? Else I'll add it in a week or so. Note that I really don't like the float inbetween step, and it's not really nescesary :-)

Kim Bruning 13:21, 3 Apr 2004 (UTC)


Oh heck, let's be bold and add it, some mathematician will just come along and simplify the float step I'm sure :-) Kim Bruning 13:27, 3 Apr 2004 (UTC)

Ugh, I think I made some slight errors converting from algorithm to formula. Um I'll leave as is for now, some mathematician can pick up the pieces :-/ Sorry! Kim Bruning 13:32, 3 Apr 2004 (UTC)


Here's rewriting this so it's a little neater. This is going off that site before:
Converting CMYK -> RGB = CMYK -> CMY -> RGB
tCMYK ∈ [0,1]4 is the CMYK quadruple, tCMY ∈ [0,1]3 is the CMY triple, and tRGB ∈ [0, 255]3 is the RGB triple. Then:
Converting RGB -> CMY, with the same color vectors as before
Dysprosia 14:05, 3 Apr 2004 (UTC)

Thanks, looks tidier at least! On computers, CYMK is usually represented in 32 bits (4 bytes: C, M , Y, K), so each C, M, Y, K value is an integer from 0 to 255, and not a floating point value from 0 to 1 as was stated on the referenced webpage. Cutting out the floating point values would improve the formula further. (something to sort out in my copious free time :-) Kim Bruning 14:26, 3 Apr 2004 (UTC)

  • Can you put the coordinates in the above table that already shows RGB?? 66.32.123.29 15:36, 3 Apr 2004 (UTC)
    • Instead of giving you a fish, we gave you a fishing rod. :-) Calculate the cmyk values using the formulas, or the webpage or what have you, and multiply by 255 (and round off) to get the compuer representation. Kim Bruning 16:00, 3 Apr 2004 (UTC)
      • What do fish and fishing rods have to do with RGB and CMYK?? Is this just an expression?? What does it mean?? Does Wikipedia have an article for expressions like this??66.32.113.34 16:55, 3 Apr 2004 (UTC)
        • "give a man to fish, and he will eat for a day, teach a man to fish, and he will eat for the rest of his life". The idea is that we just explained how you can figure out cmyk values for yourself, into perpetuity :-) Unfortunately the formula given by dysprosia gives values from 0 to 1, and we want to scale that to 0-255. (so just multiply by 255, easy enough). Well I'll do some examples to see if the formula is actually correct...



some tests

Wow! This formula is really easy to use too! :-) I'm sure there's a way to skip the float phase , but this is nice :-)

  • But 255 0 0 was not among the colors in the above table. 66.245.99.11 18:20, 3 Apr 2004 (UTC)
    • But I'm not going to calculate your table for you, I was figuring some edge cases to see if the formula actually works. Kim Bruning 18:33, 3 Apr 2004 (UTC)

Hmm, note I was doing mental arithmetic, so values are rounded off. Kim Bruning 21:48, 3 Apr 2004 (UTC)


okay, one example for 66.32.123.29, though really wikipedia isn't for this. Note that your value for red is really weird?

We're using "red, green blue" so:

tell you what, let's find blue in CMYK

  • disprosia said:



  • Okay, well,

so we do:





  • Well ... , so:



  • scaling:


  • So in the end we get:


Which I happen to know is the right value for blue. :-)

Easily understood

Doesn't anyone think this page should be made more simpler so people can understand or add more explanations to the algorithm-ishs given in the end? My thought since I still do not understand how. -- WB 02:30, Mar 18, 2005 (UTC)

I think the algorithms given should be removed, as they are of little practical use. They do not reflect the real-world conversions actually needed, and by putting them into a Wikipedia article, it adds to the confusion and errors which can produce very expensive printing mistakes. Views? Notinasnaid 09:34, 11 Apr 2005 (UTC)
It is less productive to remove inaccurate algorithms altogether as opposed to improving the algorithms in the first place. Dysprosia 12:19, 11 Apr 2005 (UTC)
The crucial point is that there is no algorithm. There is no single conversion from RGB to CMYK, so - much as people yearn for there to be a simple algorithm - it is doing a disservice to put one there. Notinasnaid 16:31, 11 Apr 2005 (UTC)
I have tried to put some background in the new article absolute color space. Neither RGB nor CMYK are, by themselves, absolute, so there is no single conversion between them. Notinasnaid 20:27, 11 Apr 2005 (UTC)

It seems to me that the lack of reversibility in RGB to CMYK to RGB conversions isn't an issue which should prevent presentation of an algorithm. Such an algorithm is a necessity in many applications; for example, rendering an RGB-based image into CMYK inks on paper. CoyneT 00:54, 12 Apr 2005 (UTC)

To my mind, that's exactly the reason to not have it, because, frankly, it's rubbish. People have written software using this algorithm, and the results of the conversion don't really satisfy anyone, because the colors are different. Notinasnaid 07:43, 12 Apr 2005 (UTC)
The discretionary note added is sufficient enough. Those who want to make use of such an algorithm are warned for its use, and those who need something professional will be warned of the consequences for using the algorithm. Dysprosia 08:00, 12 Apr 2005 (UTC)
That makes sense. If I ever manage to find a way to express how it should be done, I'll add that too. (It won't be an algorithm). Notinasnaid 08:28, 12 Apr 2005 (UTC)

Still doesn't make sense

The sentence still doesn't make sense. Suppose that the conversion from RGB to CMYK is reversible. I take this to mean that there exist a conversion from RGB to CMYK, and from CMYK to RGB. But if we suppose now, seperately, that the conversion from CMYK to RGB is not reversible. Then I take this to mean that there is a conversion from CMYK to RGB, but not one from RGB to CMYK. This clearly contradicts the first supposition. One of the suppositions is wrong. Which is it? Dysprosia 10:20, 20 July 2005 (UTC)[reply]

Are we talking about colour-for-colour matching? Please clarify the sentence if this is the case. Dysprosia 10:27, 20 July 2005 (UTC)[reply]

This is nothing to do with colour matching, just simple mathematics.
Clearly it either (a) isn't expressed clearly or (b) is expressed clearly but is so unexpected it seems to be wrong. Yes, you can start with any RGB value, use the formula to convert to "CMYK" and then back to RGB. You will have the same value, in every case. But if you start with a CMYK value, convert to "RGB" and go back again, you will (except in particular lucky cases) not have the same value. If you want a worked example, start with the two CMYK values 0,0,0,1 and 1,1,1,1 and see what you get when converted to RGB then back to CMYK. Notinasnaid 10:31, 20 July 2005 (UTC)[reply]
Let me try and clarify the wording based on this, so it doesn't sound so paradoxical. Dysprosia 10:36, 20 July 2005 (UTC)[reply]
That's pretty good, thanks! We might also want to speak of gamut here, as one of the reasons that RGB and CMYK aren't completely inteconvertable is that certain colors are "out of gamut" for one color space or the other and simply can't be represented (accurately) in the other color space.
Atlant 11:33, 20 July 2005 (UTC)[reply]
No, gamut doesn't apply here. These are artificial conversions (which I personally would prefer to see removed) rather than anything that does accurate colour. But people do seem to want to see formulae, even if they are rubbish. There is no gamut mapping implied. I'd like to see a separate subsection about the principles of an accurate conversion. Notinasnaid 11:48, 20 July 2005 (UTC)[reply]
I'm sorry, but you're wrong. "Out of gamut" colors are one of the principal reasons the conversions aren't reversible. While a theoretical CMY/RGB system might use identical primaries (if you think of C as -R, M as -G, and Y as -B), but we live in the real world and real-world CMY(K) and RGB use different primaries that enclose different gamuts.
Atlant 12:31, 20 July 2005 (UTC)[reply]
One more point: there cannot exist any RGB <-> CMYK mapping that is invertible in the CMYK -> RGB -> CMYK case. I don't know how to express it mathematically, but it's something to do with mapping four unknowns into three, and back to four; it's impossible to preserve all information. Or is it? Now, it may be invertible in terms of colour display, but that's a different story; the actual CMYK numbers are the point of the discussion. Notinasnaid 11:54, 20 July 2005 (UTC)[reply]
What counts is the size of the sets you're mapping between and/or the domain, range, and codomains of the conversions, depending on what you're talking about, but that is another story. What is being said currently in the article includes the case you just mentioned, I believe, though somewhat implicitly. I could give a mathematical reasoning here to support that or to further clarify that but it may be a little overcomplicated and I would be liable to make mistakes anyway ;) Dysprosia 12:27, 20 July 2005 (UTC)[reply]


(resonding to Notinasnaid) This would be true if "K" were really an independent variable. But it's not; it's simply a way of saving ink and accounting for the fack that in the real world, C+M+Y doesn't quite make K. See all the mentions of Grey Color Removal, Under-Color Removal, and the like.
Atlant 12:31, 20 July 2005 (UTC)[reply]
Let's try and make it clear what I'm talking about.
1. I am specifically talking about the formulae on the article page, not about the general case of CMYK <-> RGB conversion. These formulae make no allowance for gamut (work through them if you think they do), so gamut is not relevant to that discussion.
Okay. But let's make clear what's real-world and what's theoretical. Atlant 14:56, 20 July 2005 (UTC)[reply]
2. When I talk about reversibility I mean, specifically, a return to the same four variable values. I am not talking about whether the colour they represent happen to be the same. While it might in some situations be interchangeable, there are other situations where the conversion would produce bad results. The conversion – this conversion – applies only one rule for GCR/UCR etc.
I understood that. Atlant 14:56, 20 July 2005 (UTC)[reply]
3. These are bad formulae but if the article doesn't make it clear the preceding paragraph is only about them, then it should.
Maybe it would clarify the article to give specific examples of inputs and outputs for the formula, showing the non-reversibility. Notinasnaid 14:43, 20 July 2005 (UTC)[reply]
Please try and limit your use of the word "reversibility", as it can imply "invertibility" and thus needs to be properly qualified otherwise, and it caught me once already. Thanks Dysprosia 14:52, 20 July 2005 (UTC)[reply]
An example or three would be very helpful. Atlant 14:56, 20 July 2005 (UTC)[reply]

I am surprised by this whole bad formula discussion. When you convert CMYK to RGB, you are mapping a 4-dimension space onto a 3-dimension space, i.e. you lose 1 dimension (you can compare it to converting a 3D-design of a house to a floorplan -you cannot convert that floorplan to a 3D again). So technically it is not a conversion, but a 'projection' that is not reversible/invertable.

Evenso, one of the questions people have most often concerning CMYK is "but how can I show it on my screen?" so they need the RGB equivalent. So why was the CMYK-2-RGB converter (external link) deleted? Anyway, what comes out of your printer in most cases (most document/image software uses RGB) is an CMYK approximation of an RGB colour, done either by your printer or printer driver. So RGB-2-CMYK inverse projection is far from useless. The extra parameter you use is: do you want to use more black ink (K) or more of the three colour inks (CMY)? So the issue is more economical. Pforret

My argument against this formula is that it is not a good formula. It suggests that RGB cyan (100% blue+100% green) is best represented by 100% CMYK cyan. This is not the case: it is a fallacy. I think it is very important that this article educate people that there is no simple conversion that will produce a satisfactory matching from RGB to CMYK and vice versa. That what they seek does not exist. Otherwise, they will go away from this article and implement things on that basis, to nobody's good. Converting between RGB and CMYK requires knowing what color space is in use for RGB and CMYK, and doing a color mapping based on those color spaces (e.g. using ICC profiles). I have to ask this, I hope it does not come over too negative: is anyone who promotes this formula actually responsible for high quality color matching? Notinasnaid 15:45, 29 September 2005 (UTC)[reply]
I would expect that if someone were to develop a high-quality color matching system, he/she would dive into the whole Pantone/RGB/CMYK matter more deeply. For the Average Joe (i.e. 95% of your Wikipedia public) it is enough to know that the best approximation of a certain CMYK colour is RGB #XXXXXX. They don't care about color temperature, gamut and ICC profiles. If they get a color specified in CMYK, they want to know: is it greenish, redish or brownish? Oh, it's pink!
Again: the main purpose of an online converter is conversion from CMYK to RGB, not the inverse. Most of us live in a RGB world, we need our stuff in RGB and all conversion back to CMYK is done for us (by a printer driver or some piece of software). So if "Cyan" is (1,0,0,0) in CMYK, what is the best approximation of that color in RGB? Probably #00FFFF is a pretty good option. If you have a better formula, be my guest and share it. If not, please add the "not for professionals" warning and let Average Joe convert his CMYK to RGB.
--Pforret 08:13, 3 October 2005 (UTC)[reply]
No, sorry, I cannot agree. Leaving aside that Pantone has nothing to do with it... you say "it is enough to know that the best approximation" – no. It is not the best approximation. It is not even a good approximation. So the average Joe will go away with a bad approximation, which he does not understand enough to know is bad. So I argue that we should certainly not link to a calculator which people will certainly use in preference to actually reading the difficult and unsavoury facts in the article. "If you have a better formula" – - there is no formula. That's my point.
If this were an introductory piece I'd have no problem with leaving the link in. But this is supposed to be an encyclopedia; that means that I don't think that oversimplifications have any place; if the facts are complicated, it's the job of an encyclopedia to say so, hopefully in a way that can be understood, not to gloss over them. Notinasnaid 08:33, 3 October 2005 (UTC)[reply]
By the way, there is nothing impossible about a web site which does this properly while starting the education of people in the issues. For example, a site which offered a choice of RGB and CMYK profiles (ideally with the opportunity to upload a custom one), and then did the conversion on this basis. On the other hand the site to which you posted a link not only does not do this, it does not even carry warnings about how inaccurate the result is. I do not think that simplicity is better than accuracy. Also, please do not change the page while this is still under discussion. I observe that this is your own site (or there is a remarkable coincidence of names): I can understand the emotional attachment you have to it, but I do not agree it has any place on Wikipedia. It may be that this page needs to go to dispute resolution. Notinasnaid 08:48, 3 October 2005 (UTC)[reply]
I will try to construct a better formula using CIE-XYZ
--Pforret 10:42, 3 October 2005 (UTC)[reply]

Removing the picture

I propose removing the picture . It contains pure RGB cyan, magenta and yellow, which look very little like printing inks. I propose not replacing it because there is a wide variation in printing inks, and even if there wasn't, there is a wide variety in monitors. In general, I don't think any reference colors belong in wikipedia. Notinasnaid 11:21, 5 September 2005 (UTC)[reply]

Don't do that. While everyone knows what "Yellow" is, many people don't know what "Magenta" is and nearly everyone has no idea what "Cyan" is. The picture is a good start.
Of course, you should feel free to add another picture (of 55-gallon drums of ink or what-have-you).
Atlant 12:34, 7 September 2005 (UTC)[reply]

Well, that isn't what cyan and magenta look like. That's the problem... Notinasnaid 17:23, 7 September 2005 (UTC)[reply]

Funny, when displayed on an additive-color device, I was pretty sure that cyan was 100% green + 100% blue and magenta was 100% red and 100% blue. What do you think they look like (when displayed on an additive color device)? Or maybe you should print the Wiki page and see if your color printer shoots anything other than cyan ink for the cyan swatch and magenta ink for the magenta swatch; it ought to be pretty easy to tell, even without a magnifying lens.
Atlant 14:06, 8 September 2005 (UTC)[reply]

The article isn't about additive color. Certainly, additive cyan/magenta look like the picture. But I have never seen a cyan/magenta ink for use in CMYK that was anything like that. Both the cyan and magenta in CMYK are significantly darker, but vary depending on the ink mix. That's why CMYK has a significantly different gamut to RGB. This picture can only mislead and confuse people in an area where there is already substantial confusion about what these colors really look like. Should this article be about real CMYK or an idealised and nonexistent version of it? Notinasnaid 21:59, 8 September 2005 (UTC)[reply]

No, you're correct: this article isn't about additive color. Unfortunately, 99.999% of the time, this article will be viewed on a device that uses additive color, and you're just going to have to live with that. As I said, if you don't like those color swatches, find a photo of gobs of ink that pleases you, and add that to the article. But don't remove something that is technically accurate just because you don't like it.
(By the way, you're dodging the suggestion I made about printing the page using an inkjet printer. I assure you that the C, M, Y, and K inks used by those printers pretty-accurately match the color swatches inthis article as displayed on my various CRT and LCD displays.)
Atlant 12:00, 9 September 2005 (UTC)[reply]

I did your test, printing on an Epson 880 with Epson inks and default Windows 2000 driver settings. The result was nothing like the strong primaries in the original graphic. They were rather more like but of course that was created with the wrong CMYK profile: SWOP Coated rather than a profile for the Epson inks. The colors were certainly duller than that. And when I printed this new graphic they were duller still, a result of continuing gamut compression which means that they never can match with these printer settings.

Examining with a loupe I can see that in the first printout, the cyan contains white and magenta dots, the magenta has white and cyan dots and the yellow has white and cyan dots. In the second picture, the cyan seems to have only a little white, the magenta only a little cyan, and the yellow is very pure.

I feel that would be a better graphic - it at least looks something like some real world colors. But it is misleading, just like the formula for conversion which I would also like to see removed, because it reinforces wrong ideas. Would the entry for sparrow allow a picture that was sometimes a cormorant? I don't think so. This is why I think color swatches (except RGB swatches designed to show your own monitor's behaviour) have any places in an online resource that has pretensions to accuracy. Notinasnaid 13:07, 9 September 2005 (UTC)[reply]

Do I understand this correctly?

I have been reading about the RYB model and the CMYK model. First I'll try to explain my train-of-thought: in my mind, magenta is created by adding red and blue, this works for both paint and RGB values. So I was wondering how CMY is concidered a good base colour triad. So I started reading and found out about the principle of additive and substractive models. I understand these. I can see why CMY is a good model. Then I read this page and my initial thought were confirmed when I read: "dark blue reproduces poorly in CMYK, coming out rather murky (as it has to be approximated by darkening cyan with black and a little magenta)". So here is my theory: RGB works on a monitor because the monitors physically do like the theory: paint with light. The CMY model is a theory that translates poorly to printing practice, because we try to print using physical materials (ink/paint) to mix up a new material that absorbs light like the CMY model would. It is this that results that shades of blue and purple are poorly reproduced? Or do I miss something here?

You're not missing anything. The fact is that it is impossible to get close to a typical monitor gamut on a printer, especially using only four inks. But when four inks are used, although they are *called* cyan, magenta, yellow, and black, the cyan and magenta in particular are very different from the colors that are called by those names in an RGB model. By convention, any roughly blue-greenish ink is called "cyan", and any roughly pinkish ink is called "magenta". For example, here is a rough approximation of the ink colors used in a printer I'm currently working on (with the usual caveats about color reproduction on the web):

Approximate CMYK ink colors

As you can see, this is something of a compromise between CMY and the RYB traditionally used with paints. This printer has an excellent gamut of blues, because the "cyan" ink is very blueish. Also, its C+M+Y is not "murky" at all; you can hardly distinguish it from black. It still can't produce anything like the intense blues you can get on a monitor, and it does less well with reds (despite the magenta being more reddish than most).

Using five or six inks can produce a significantly better gamut -- of course with higher costs for heads and ink. Some high-end printers use CMYK+Red+Blue; others use CMYK+Orange+Green. There are also a handful of 8-color printers, generally allowing some of the colors to be replaced by specialist inks for particular jobs. DavidHopwood 04:43, 19 January 2006 (UTC)[reply]

When I went shopping last summer, I saw some that were CYMKcm. (lowercase meaning pale colors) The light colors helped to avoid speckles when printing pale things. AlbertCahalan 04:42, 26 April 2006 (UTC)[reply]

Just for fun, I converted the L*a*b* values provided by the ink manufacturer to sRGB, using the icctrans utility from http://www.littlecms.com/newutils.htm (with colorimetric rendering intent):

CMYK ink colors using L*a*b* -> sRGB conversion

Hmm, the yellow and magenta don't look right at all, and I trust my eyes more than icctrans (although maybe I was overestimating the brightness in the first image). Oh well. DavidHopwood 05:34, 19 January 2006 (UTC)[reply]

Why no formula

I have been asked to explain why I say "there is no formula" for converting between CMYK and RGB. It does on the face of it sound like nonsense. Here's why:

I'll try to explain where this "there is no formula" comes from. There are two distinct phases (a) why there isn't one in theory and (b) why there isn't one in practice if the problem is reduced to one where calculation is possible.

1. There is no formula because the problem is not well defined. Neither RGB nor CMYK are absolute color spaces, so to talk of conversion is not really meaningful until both spaces are actually defined. For instance, if you were talking about sRGB and a particular CMYK profile (derived for ink and paper conditions), then the conversion becomes meaningful. Since each combination of RGB and CMYK profile has a different answer, you can't say anything about the conversion until those are decided. Rendering intent is relevant too.
PostScript version 1 used only CYMK. Was it well-defined? If yes, then I suggest using that with sRGB. AlbertCahalan 04:45, 26 April 2006 (UTC)[reply]
CMYK appeared in a supplement to level 1 PostScript, yes. The actual conversion was well documented (I think this is one reason it has been popular) but did depend on what values were passed to setundercolorremoval and setblackgeneration. But whatever values were passed it was a very poor match colorimetrically (this color becomes something like this color). So why use this, particularly poor, conversion? Notinasnaid 21:33, 28 April 2006 (UTC)[reply]
2. Once the color spaces and rendering intent are defined, clearly a calculation can and does take place (e.g. every time the screen is redrawn in Photoshop). But in this case I say there is no formula because nobody has expressed this as a mathematical formula, and it isn't really practical to do so. Let's look at what really happens. To oversimplify, the RGB profile contains information on the white point, gamma, and a matrix. This is used to convert the RGB value to Lab. So far, this would be practical to express as a formula.
The CMYK profile contains 3-to-4 dimensional lookup tables, up to three of them for different rendering intents. Each table is typically pretty large, though not as large as the 4-to-3 table used for going the other way. A color manager interpolates values in this table to convert the particular color. The table is typically generated by sampling colors with a measuring device. I don't see it practical to express this as a formula, nor every useful as each profile would be different.

The formula in the article is an attractive one, but it is based on a fiction. The fiction is that CMYK cyan and RGB cyan (similarly magenta) are equivalent colors. Notinasnaid 13:21, 5 October 2005 (UTC)[reply]

Personal Opinion Used in Technical Description

...The nearest equivalent in CMYK is an ugly purple shade....

The word "ugly" is not strictly appropriate for the context. If there are no objections I will replace this with a more appropriate description, and perhaps add an example of what it looks like, so as readers can draw their own conclusions about whether it is "ugly" or not.

Joseph Crowe 16:50, 6 January 2006 (UTC)[reply]

I agree the language is bad. Please don't add a visual example. You CANNOT show CMYK on screen, so you produce an entirely misleading idea that you can, by producing one particular conversion to RGB, which is itself monitor dependent. Notinasnaid 18:10, 6 January 2006 (UTC)[reply]

Right. I'll go ahead with the edit then. Joseph Crowe 15:30, 8 January 2006 (UTC)[reply]

Typo in history

I changed the text "a RGB color" to "an RGB color," but when I described what I did in the page history, I fat-fingered and put "'changed "a RGB color" to "an RGM color.'" I know this sounds foolish, but I just wanted everyone to know I hadn't actually changed the B to an M. Sorry about the flub in the page history. —CKA3KA (Skazka) 18:40, 13 January 2006 (UTC)[reply]

You don't have to apologize so profusely for this. Dysprosia 04:36, 19 January 2006 (UTC)[reply]

The K-channel image should be...?

According to the convertion,
RGB=(255,255,255) -> CMYK=(0.0, 0.0, 0.0, 0.0)
That is reasonable that there is no quantity of black color in the white color.
Relatively, the color Black (RGB=(0,0,0)) convert to CMYK is (0.0, 0.0, 0.0, 1.0)
So, if a image in RGB is converted to CMYK domian.
The K-channel image should be like the invert of image of luminosity.
But the K-channel image of the picture on the right side of this page, the CMYK-domain image, seems to be like the image of luminosity, but the invert of image of luminosity.
Is something wrong?

Ignore the formula. It's nonsense. There is no simple formula, and the idea doesn't even make sense unless RGB and CMYK are defines as specific color spaces. However, it is not the case that the K channel should be a mirror of the luminosity. K is there for mixing with the other inks for the desired affect. Consider an image that is entirely magenta. It has luminosity, but there must be nothing in the K channel. Notinasnaid 09:20, 31 August 2006 (UTC)[reply]

Drying

Does the pigment dry before the next color is applied or are they all applied wet and dried together?--Energman 22:34, 17 December 2006 (UTC)[reply]

Other meaningsof CMYK

I don't think the Spanish record label needs to be mentioned at the very bottom since it's irrelevant to the color model.

It should be it's own article under CMYK disambiguation heading. 206.45.81.74 21:55, 12 February 2007 (UTC)[reply]

Useless conversions

The conversions on this page are practically useless, as they don't do anything like an accurate transformatoin from a display's rgb ⇔ a printer's cmyk. Their presence here only serves to confuse and mislead readers. In my opinion, they should be removed. Instead, some mention of CMMs and various choices in converting from one model to another should be made, including a discussion of dot gain, separations, etc. But the formulae should be left out. --jacobolus (t) 03:25, 23 April 2007 (UTC)[reply]

I agree. I have tried and failed in the past, because some editors insisted they were "useful": I recommend reading this whole page to get a flavour of the arguments on both sides. I observe a recent edit, however [1] which suggests that half of the information has always been wrong. This seems to destroy the idea of usefulness. Times and editors change, so can consensuses. Notinasnaid 10:49, 23 April 2007 (UTC)[reply]
Yeah, all the arguments made against your position are completely missing the point though. It's as if there is a lack of understanding that these formulae have absolutely nothing to do with a real conversion. They aren't even good as a first order approximation. It's quite unfortunate that the color separation article uses similar "invert the colors" logic. But maybe if some explanation was added about the choices involved in converting from RGB → CMYK, then it would be easier for other wikipedians to understand how bad these formulae really are. --jacobolus (t) 16:10, 23 April 2007 (UTC)[reply]
Okay, well if no one answers soon, I am going to remove the conversions section. --jacobolus (t) 15:04, 17 May 2007 (UTC)[reply]

THERE IS NOOO FORMULA

Hi guys... you're struggling with my every day hell, I am a color matching professional in a printing facility, what your are missing is that there is actually no conversion between RGB and CMYK, because both of them are DEVICE DEPENDENT. The same RGB values will display different colors on each device (just watch two TV sets together, the color looks different but they are outputting the same RGB values), it will also happen with CMYK specs each printer will print different colors usting the same CMYK values.

What is used to bring them together is called ICC profiles. This are "maps" measures the interpretation of specific colors of a device and generates a "map" to a theoretical colorspace called Lab (Luminosity, alpha and beta)

You can convert an RGB image from your camera and convert it to an RGB image for a projector or television. Also, you can convert a CMYK file that was destined to be printed on press and convert it to a CMYK that will be printed on a plotter.

What happens is that it's impossible to reproduce color consistenly without being device independent. The same values will give different outputs on different devices.

Lab colorspace is used between all the conversions, an RGB file will be "mapped" into a LAB format and then "mapped" again into a CMYK. You must provide the profiles for both of the files, (the ICC profile of the digital camera for example and the ICC format of the Printer), THEN you will have your conversion.

The problem is that the RGB color space is an additive color reproduction, wich can output a far greater gamma of colors than the CMYK color space. So when converting from RGB into CMYK the colors are "shrunken" into the CMYK space, so a picture that looked really bright on the screen will look somewhat dull on paper.

There are several types of color space "shrinking", there is "perspective","relativer colorimetric" "absolute colorimetric" and "Saturation" depending wich kind of "shrinkage" is more desireable.


Regarding the Black generation, this is done by the converter of the spaces and is user-defined, depending on the type of press and the image the black generation will be greater or lower but that depends on the person converting the file, if it's got large areas of light gray, the black generation could be small if its got great areas of black, then more black generation is desireable.

check this page, this shows the two color spaces of RGB, CMYK and LAB http://back.iccview.de/index_eng.htm

Suggested merge from process color

These two articles are discussing essentially the same process and color model. They should be merged, and one should redirect to the other. --jacobolus (t) 04:03, 6 May 2007 (UTC)[reply]

I agree. And nobody has objected. Go for it. Dicklyon 23:54, 25 July 2007 (UTC)[reply]
I agree. —Parhamr 05:53, 26 July 2007 (UTC)[reply]
Okay, I did the merge. :) --jacobolus (t) 00:02, 29 July 2007 (UTC)[reply]

Original research / poorly worded

I removed this from the article, as it appears to be a combination of original research and a poorly executed explaination. 216.148.248.63 14:43, 16 May 2007 (UTC)[reply]

To perform a live example of this effect reduce the color depth of your screen to its lowest property and note the effect. Your computer will still show colors in RGB but the quality is far less. This commonly overlooked fact is why an RGB printer will have a different spectrum of colors it can reproduce compared to a RGB monitor. This is also why conversions based on color hue alone such as those shown below have absolutely no relevance or meaning to converting RGB on a monitor to CMYK on a printer.

tagged with "rewrite" template

A very large proportion of this article is similarly confusing for me. I think “combination of original research and a poorly executed explanation” pretty much sums it up. For instance:

A common misconception is that this color model is based on actual mixing of pigments, however when seen under a microscope you will see that the dots are printed next to each other and there is very little mixing. This is how a printer is able to reproduce rich red and blue from cyan, yellow, and magenta.

Why does mixing or not affect how "rich" the colors are?

CMYK works on an optical illusion that is based on light absorption. The colors that are seen are from the part of light that is not absorbed.

What does "optical illusion" mean in this context? Isn't this just a normal part of color vision?

To improve print quality and reduce moiré patterns, the screens for individual colors are set at unique angles.

This is not adequately explained. For non-experts, it is nearly useless, and the without explanation the associated table does nothing but clutter the article.

On the press: Though it varies by print house, press operator, press manufacturer and press run, ink is typically applied in the order of the acronym—cyan, magenta, yellow and then black.

Why is this deserving of an entire section?

A mixture of practical cyan, magenta, and yellow pigments rarely produces pure black because it is nearly impossible to create sufficiently pure pigments.

Is that really why? Would "pure" pigments mix to produce black? What does "pure" mean in this context.

so to reproduce text using three inks without slight blurring would require impractically accurate registration (i.e. all three images would need to be aligned extremely precisely)

Why is registration not defined before this, or linked? How is a non-technical user supposed to understand what it means?

The amount of black to use to replace amounts of the other ink is variable, and the choice depends on the technology, paper and ink in use. Processes called under color removal, under color addition, and gray component replacement are used to decide on the final mix, so that different CMYK recipes will be used depending on the printing task.

Why is this not explained more clearly in the article? These terms should be defined and described, not just linked.

Although the two acronyms have a similarities they are very different in many ways.

This sentence is so vague as to be useless, even for setting up subsequent sentences.

The whole “Conversions” section

Given that this section has no basis in reality, and is misleading, I think it should be scrapped.

Conclusion: this article requires a complete rewrite by authors who knows what they're talking about. I suggest that merging process color into here might go some of the way towards solving these problems. But it's still not enough.

--jacobolus (t) 14:46, 17 May 2007 (UTC)[reply]

A good book ref

I agree it needs a rewrite. Here is a good source to work from. I have the book in case you can't see enough online. Dicklyon 19:17, 29 June 2007 (UTC)[reply]

I didn't incorporate the good model from the book yet, but I did take out or rewrite most of the nonsense. So I took out the rewrite tag. Put it back if you think it's still needed. Dicklyon 05:40, 28 July 2007 (UTC)[reply]
Okay, I think my cleanup of the introduction, and addition of a "halftone" section helps a little bit. The article could still use a great deal of work, but as you said, at least it's no longer full of nonsense. :) --jacobolus (t) 00:03, 29 July 2007 (UTC)[reply]

error

Theres an simplification error in the conversion formula {1 − (C(1 − K) + K) =! {(1 − C)(1 − K) similar error in the other components value. It seems (1-C)(1-K) works to convert C to R though. — Preceding unsigned comment added by 72.185.40.123 (talkcontribs)

Given that the formulas are as far as I'm concerned completely useless, I'm not too worried about it ;). Anyway, feel free to fix it. --jacobolus (t) 21:07, 25 July 2007 (UTC)[reply]

Why don't we print with RGB or RGBK

Simple question. The only thing I could think of is that RGB can't be so easily be produced in very saturated quantities. So it would be expensive (or non existing). So it's more technical than physical. Right? (Please don't start about additive and subtractive 'cause that would only proove you don't inderstand - let me startle you: most printers print dot's next to each other: so though the CMY colors themselves are made by a subtractive process on a white sheet all the other colors are made by additive process: the CMY is reflected from the dots. So it it's CMY colored light that is mixed = additive. You could easilt replace the CMY dots with small CMY lights. The eye would not see the difference. So another question is why do monitors work with RGB. Again probably more technical than physical. BartYgor 14:11, 13 August 2007 (UTC)[reply]

No, you are confused. Although you can see the dots in color prints, the colors are in general on top of each other. The rasters in CMYK offset prints are angled with each other that some dots overlap while other dots end up between each other. Additionally, the grain of the paper smears out the ink. The net effect is roughly equivalent to smearing out a thin layer of ink as in conventional substractive mixing. Mechanically, it is not possible to get make the rasters to control exactly the amount of non-overlapping versus overlapping ink; this would require an insane amount of precision. You can actually often see in newspapers that the rasters for the different components are misaligned by more than 1 mm. If you were able to control the alignment of non-overlapping RGB ink dots, you would not be able to produce anything darker than a 33% grey (think about it). Han-Kwang (T) 16:30, 13 August 2007 (UTC)[reply]
Another response. It would indeed be possible to print with RGB inks; you'd want to make them somewhat pale, so that like CMY they each absorb only about 1/3 of the spectrum, not 2/3 like saturated RGB would. So just shift the spectral peaks around and go. But you are indeed confused about additive versus subtractive. When you put inks on white paper, the result is subtractive, whether they overlap or not. CMY works nicely because it's easy to convert from additive RGB. E.g. the C ink density is approximately 1-R. Plus the gamut works out better with these color, according to long experience; adding some Green and Orange inks helps to expand the gamut, illustrating the point that almost any set of inks can be used. Dicklyon 17:57, 13 August 2007 (UTC)[reply]
Indeed, there is nothing *special* about cyan, magenta, and yellow inks as primaries. They just happen to produce a nice gamut (the three colors are approximately evenly-spaced around a perceptually-uniform hue wheel, and mixtures do a reasonable job at making saturated red, green, and blue), without requiring too many inks. Like all technology, they are just a compromise. (I'm not sure though that ease of conversion between CMY and RGB has much to do with the decision: I'd have to see a source before believing that.) --jacobolus (t) 23:09, 13 August 2007 (UTC)[reply]

Thanks, everybody. I don't think I'm confused with additive; subtractive. But I do admit that I may be confused about what printing really is about. Though I do wonder if the small dots are so fast drying that they don't mix and if they don't mix, if they are translucent enough to act as layers on top of each other (subtractive color forming see http://www.rgbworld.com/color.html). If they mix then the only subtractive proces that is going on may be ink on white paper; or if the ink is not tranlucent just the color of the (mix of)ink is formed subtractive. In addition (as I do believe I know what subtractiev / additive is about - sorry if I sound pompous) in the first sentence it is stated "CMYK is a subtractive colormodel". This is incorrect: color models or spaces are never additive of subtractive. If you think it is: could you please describe, define when a colormodel is subtractive/additive. What properties should such a model or space have to call it subtractive/additive? --BartYgor 18:45, 14 August 2007 (UTC)[reply]

"Subtractive" is too simple a model, I think is what you're saying. That's true. See the article section on Neugebauer primaries, where it explains that the net color is caused by a mix of the light from the different bits of drops or spots. But that doesn't make it additive exactly, either. Dicklyon 21:37, 14 August 2007 (UTC)[reply]
You may be thinking of paint, that contains colorless `white' pigment (TiO2 particles) that reflects back the light. With paint it matters whether layers of paint are mixed. Ink is translucent and doesn't scatter: a photon either passes through or is absorbed forever. I can't comment on your remark about color models. Anyway, since the issue about overlapping dots comes up every now and then, I've added an actual close-up of a CMYK print so that you can see for yourself how the colors mix. Han-Kwang (T) 22:31, 14 August 2007 (UTC)[reply]

Thank you, I do acknowledge that colormodels mostly are specific to their application. Yet the application generally involves additive and subtractive processes. And almost always additive processes. Those colormodels predict what color you will see by applying primaries in that process. So please refraign from calling colormodels additive or subtractive, 'cause many wiki think that by any model based on CMY would be subtractive; yet as i stated this has nothing to do with the choice of primaries but with their application. For example http://en.wikipedia.org/wiki/RYB_color_model they are just talking about a colorwheel, this is neither subtractive nor additive yet they call it subtractive for some reason. Also the picture (right above) on the page shows that mixing RYB would give you some black. Wrong! It would give you some greyisch color with the same lightness as the three primaries. In this wiki article (CMYK) sentences like "Such a model is called subtractive because inks “subtract” brightness from white" are nonsence! Any color of a (no light emitting)object is formed by subtraction! So if I would mix non translucent (meaning regular pots) CMY paints and make up a colormodel that describes me what color i will get from what quantities of primary paint then this model would be subtractive?? Mixing paints is not additive nor subtractive; if the lightness of the three primaries are the same the result will have the same lightness! --BartYgor 10:30, 15 August 2007 (UTC)[reply]

About Neugebauer and mixing the light of spots. If I would put spots on black paper it would be additive, if i would put spots on white paper it becomes subtractive. I'm talking about the mixing of the lights of spots and paper. The colors of the spots themselves are made by a subtractive process if their non translucent. If they are it is the pigment color that is formed in a subtractive way. The color of the dot can be additive of subtractive according to the color (black of white) of the paper. --BartYgor 11:08, 15 August 2007 (UTC)[reply]

“If I would put spots on black paper it would be additive, if i would put spots on white paper it becomes subtractive.” – No, this is wrong. --jacobolus (t) 16:27, 15 August 2007 (UTC)[reply]

The Neugebauer method doesn't care what the substrate is, or whether the layered paints or inks are reflective or absorptive; you just characterize each combination of layered inks and their areas. Typical inks on black paper will leave you with black. Reflective RGB dots that don't overlap much might give you a sort of additive effect, but there's no way to get a decent white that way. Dicklyon 21:08, 15 August 2007 (UTC)[reply]

Of course I can't get white on black paper my primaries aren't bright enough. But with each spot on black paper I do add light hence additive. Whith each spot on white paper I take light (brightness, lightness) away hence subtractive.--BartYgor 21:35, 15 August 2007 (UTC)[reply]

The real answer to my question can be found here http://www.handprint.com/HP/WCL/color5.html#theorysub scroll further down until it starts to talk about subtractive primaries. I haven't read it completely through.--BartYgor 21:48, 15 August 2007 (UTC)[reply]

Why black is used

Again: wrong, wrong, wrong! If using only CMY you can only make colors with the lightness in between lightnesses of the primary colors. You can't make white or black. And if the primaries all have the same lightness you can't even change the lightness (if you mix CMY you won't get anything near black you will get a grey (ideally - maybe in reality some brown but not a dark brown!) of the same lightness as the primaries. But if you print on white sheets: you can adjust the lightness in one way: you can lighten the colors (in fact you are really entering CMYW color space). Now to darken the colors (darken is not really correct I mean lessen the lightness) you need black. It is not something out of covenience! Even if the primaries would mix in an ideal way (grey instead of brown), even if inks wouldn't soak the paper, you still would need black. With the black you enter in CMYKW space wich gives you a satisfactory gamut. (You sometimes see software that makes you alter CMY and if you put CMY full force you get black. To get the real life equivalent of this model I would have to imagine some monitor with CMY primaries and putting a primarie full force would be telling the monitor not to give any light of that primary. Shutting down all primaries gives you no light e.g. black. Make no mistake this model can be in no way be applied to mixing paint, printing with CMY so don't draw conclusions from it- maybe that's where the confusion arose?)--BartYgor 11:35, 15 August 2007 (UTC) So in short: CMYWK gives you a satisfactory gamut. But if you are printing on white sheets you don't need W as a primary, this leaves you with CMYK.--BartYgor 11:46, 15 August 2007 (UTC)[reply]

No, you are incorrect. Printing 100% c, m, y gives a very dark color, and printing 0% of all three, on white paper, yields white. The gamut of just a three-color process is still three-dimensional, and roughly similar to the gamut of a four-color process (go try it out on your own printer if you don't believe me!) --jacobolus (t) 16:22, 15 August 2007 (UTC)[reply]

Again: how can I tell my printer to print equal amonuts of CMY and even alter the amounts. I'm no computer wizz who writes drivers. On this page http://www.handprint.com/HP/WCL/color5.html#theorysub it is explained how yellow and magenta is mixed (scroll down a bit you will see the wavelength figure). From the figure it is clear that lightness of the mix is the mean of the lightnesses of the base paints. I'll explain more basic. Imagine a red and green sheet both lettre size. I cut them up in small pieces mix the pieces put close together so no of the table colour gets through. What you are basically saying is just by mixing up the pieces lightness (the power of the light so to say, will change). I say lightness stays the same: the same amount of light is reflected if pieces are mixed or not. THis reasoning seems logical to me. Were do I go wrong? And if you define a CMYK model as a model that gives you the quantities of ink you need to produce a certain color then one color will be represented by 4 parameters (from 0 to 100%), 4 quantities. You are in 4D.--BartYgor 21:41, 15 August 2007 (UTC) You might be wright that printing 100%CMY gives you some black; but only in a printing process that uses tranculent inks and prints them on top of each other in layers and when the first layers have dried. Yet this has nothing to do with CMYK color model as a general explanation. Because you can also get black by applying enough layers of yellow on top of each other in this particular process. You would take this into acount in a particular colormodel for this particular printing process.--BartYgor 21:57, 15 August 2007 (UTC)[reply]

Again, the key is understanding the differences between inks and paints; inks don't reflect any light (almost); they just absorb; whereas paints mostly reflect, and obscure what's underneath them. But as pointed out below, this is not the right way for you to test your strange color theories or learn about color; read the aricle and some sources and let us know if you find conflicts between them. Dicklyon 23:55, 15 August 2007 (UTC)[reply]
The paragraph you wrote above is incomprehensible to me (check my user page for my background if you are curious). In any case, this discussion is resembling more and more a forum discussion. Check WP:TALK and WP:NOR. Please focus on the article, and in the case of a controversy (in this case it's you against three other editors) provide references for an alternative description. The only thing where I think you have a point is whether one can talk about a color space or color model being substractive or additive. Han-Kwang (T) 23:18, 15 August 2007 (UTC)[reply]
In explanation of the paragraph above: I have a red and green sheet size A4 (I'm European). I neatly divide the sheets in small pieces, and mix the pieces but the total surface is still 2xA4. The amount af recflected light from the 2xA4 surface can't change can it? So you can't produce black nor white this way. The process I describe is additive nor subtractive.This in explanation of my paragraph above--BartYgor 00:21, 16 August 2007 (UTC)[reply]

I didn't say the webpage I mention is accurate. I only want you to look at the picture. It is explained in more detail in http://www.handprint.com/HP/WCL/color3.html#mixprofile (this is a reference for you). And my simple point is: if this curve is correct in representing the result of a mix of two paints or inks (not applied as filters - just mixing) than it is obvious you never can get black from three colors this way, as the mean never can get lower the the lowest value of the three colors. I'm sorry that this seems more like a forum. But i'm only pointing out the mistakes. I guess this is the place. ON references: the first section of this wiki article and the why black ink is used section has no reference whatsoever. And I'm the one having to provide references?--BartYgor 23:56, 15 August 2007 (UTC)[reply]

First of all, it's not a mean; it says approximately the geometric mean; this is about what you'd expect for paint mixing, where you lots of reflective white bits and mixture of absorptive bits. But inks, the basis for the standard subtractive model, don't have the white bits, and you can put them on top of each other instead of mixing, so their densities add and you can get make a very dark result (not a great black, but a fair black). You're right we need to get some refs... Dicklyon 00:06, 16 August 2007 (UTC)[reply]

I'm sorry Dicklyon but it is you who is talking about some specific printing process NOT the CMYK color model. Also the difference between inks and paints is irrelevant it is how you apply them: as filters (layers on top of eachother) as dots next to eachother or some mix.--BartYgor 00:01, 16 August 2007 (UTC)[reply]

The model is a good fit to the typical ink-based printing process, both on press and inkjet, as well as to color photographic material. It's less appropriate to paint mixing, but can be applied with a little modification. And watch your tone. Dicklyon 00:06, 16 August 2007 (UTC)[reply]

Structure of the article

Two concepts are mixed in this article. In my opinion the heading should read CMYK color models and it should explain that it's use is primarily in printing because to get a good gamut you would need CMYWK but because printing is generally on some kind of white paper the gamut can be produced using CMYK inks. Then it can be stated it is used in halftone printing or in spot color printing and maybe more printing technologies. I don't see why both types of printing technologies (halfton and spot color) are not treated equally. Then some alterations of the model can be discussed: CMYKOG aso. The article should clearly state that ever type of printing process and even every type of paper used would yield a different CMYK color model. Because to preduce the same color in different printing preocesses (or even with different papers) different quantities of the inks are used. It should also make clear that CMYK color models are 4 dimensional. It is not some (double) piramid. Though you can transform the 4 dimensional CMYK model into it (for example - CMYK to CIELab). The CMYK model shows the quantities of ink needed to produce a color; 4 inks; 4 paramters: 4 dimensional. In fact the very first thing that should be stated is "The CMYK color model describes the quantities needed of CMYK inks to produce a particular color."--BartYgor 12:27, 15 August 2007 (UTC)[reply]