CMYK + RGB: Can't We All Just Get Along?

There are plenty of articles out there that discuss CMYK and RGB in general. At this point, I'm assuming you already know what the differences are between them, and you also know when to use each one. The point of this article though, is what happens when you end up working with both in Illustrator.



In the days of Illustrator 8, one was able to combine both RGB and CMYK artwork within the same document. Many printers took issue with this as they would often receive RGB artwork (containing bright and vibrant colors), but when they delivered the print job, the client would complain that the colors shifted, as we know happens with the lower-gamut CMYK colorspace. The bigger issue was that it was possible to have colors within a single document across the two colorspaces, causing odd shifts of color on the same page.

When Illustrator 9 came out, Adobe implemented a new behavior, that matched Photoshop's model: all documents can be EITHER defined in the CMYK or the RGB colorspace, but a single document couldn't contain artwork from BOTH colorspaces. The one exception to this rule is obviously placed-linked content. One could still place an RGB image into a CMYK document, as the image is just a link. However, as soon as you would embed the image, the image would be converted to CMYK to match the document.

In fact, Illustrator does that across the board. If you have two files open on your screen - one RGB and one CMYK - and you copy some art from the RGB file and paste it into the CMYK file, as soon as you paste the art into the CMYK document, Illustrator converts the RGB colors to CMYK colors.

Just about everyone knows that when you create a new document, you can choose RGB or CMYK at the start. Most also know that at any time, you can choose File > Document Color Mode and CHANGE your document from one color space to another (this is akin to choosing Image > Mode in Photoshop). And you might do so when you get an RGB file (for example, from a client, from a file that you've used to create some web graphic, or from a stock photo house, like iStockPhoto for example). You might think that you need the art for print and so changing the document color mode to CMYK will make everything peachy. Well, maybe not. As we always do here at the Real World Illustrator blog, let's take a closer look...

When you launch Illustrator, and no documents are open, you'll notice that the panels are empty. There are no colors in the Swatches panel, no symbols, no brushes, etc.



When you create a new document - in this case, an RGB document, as I'll use the Web profile - the panels are suddenly populated with content. Lovely color, symbols, etc. Where does all of that content come from? The answer is: from the NDP (New Document Profile) that you chose when you created the file. So in this case, it all came from the RGB-based Web NDP.



It's essential to understand this because of this all important fact: In Illustrator, the DOCUMENT is limited to a single color space, but the PANELS are not. A single panel in Illustrator can contain both CMYK and RGB content. For example, there's nothing preventing you from opening a new CMYK document, but then defining a new RGB swatch in that document. Each time you apply that swatch to an object on your artboard, Illustrator will automatically convert that object to CMYK. In other words, you'll get an RGB to CMYK color conversion.

It's easy to see this for yourself: just create a new CMYK document, and then create a new swatch. Set its color mode to RGB and set its value to 0,0,0 (black) and then apply that color to any object in your document. If you take a look at the color panel, you'll see that object's CMYK values aren't 100k -- they are a mix of CMYK percentages that would make any printer go mad (the exact values will differ depending on your color management settings).

In addition, color swatches themselves can only define a swatch using ONE color mode. You can't have a single swatch that contains 2 definitions (for example, 100k in CMYK and 0,0,0 in RGB). In fact, there's only one kind of swatch that exists in Illustrator today that can contain 2 color definitions, and that's a Book Color. Book Colors contain both CMYK and LAB color definitions and serve up the one you need based on your settings (see this article for more details).

So now let's put these two all-important facts together: New documents get their default swatches from a specific NDP, which you choose when you first create your file. In addition, while documents are restricted to a single colorspace, panels (and the content within them) are not restricted at all. So what happens when you start with an RGB document and you then choose File > Document Color Mode to change it to CMYK? The ARTBOARD changes to CMYK, but all of the CONTENT in your document's panels (Swatches, Symbols, Brushes, etc.) are still RGB. Those haven't changed at all. Which means as you continue working, each time you apply a color from a swatch, you're getting an RGB to CMYK conversion with all those messy values.



So what do you do? Well, there's the hard way, and the easy way. Naturally, I prefer the easy way - which is to simply avoid converting the document color space entirely. If you have artwork that was created in an RGB document and you need to repurpose it for print, copy and paste the content into a new CMYK file. In that way, all the content in your new CMYK document will be CMYK. Alternatively, there's the hard way - which is to delete all of your swatches and symbols in your existing RGB file, and to load the CMYK ones. You can do this by choosing Window > Swatch Libraries > Default Swatches, and opening your CMYK library of choice.

At the end of the day, I'm hoping that at some point, Illustrator will allow us to create "smart swatches" like Book Color swatches, which would allow us to define a single color both in CMYK and RGB breakdowns. Then, depending on what color mode we choose, Illustrator just serves up the right one. In this way, colors would never go through color conversions, and we'd have much more control over how our art can be repurposed for different needs. In theory, such a capability would allow us to create artwork that would internally know how to adjust itself for both print and web workflows. Until then, we have to struggle with these nagging issues.

Facebook Comment

Blogger Tips and TricksLatest Tips And TricksBlogger Tricks