Chapter 4. Specifying Color Modes and Color Models

<feature><title>What You’ll Learn in This Hour:</title> <objective>

Color Models

</objective>
<objective>

The Modes and Models of Color

</objective>
<objective>

Color Bit Depth and Why It Matters

</objective>
</feature>

Color is infinitely variable; you only need to look out the window to realize that. Just try to count the different shades of green that you can see in a single tree’s leaves or the myriad colors of the changing sky. Color is also subjective; an object can seem to be one color to one person and a completely different color to another person—and that’s without even getting into all the imprecise ways we use language to describe color. So if you want to describe color objectively and consistently, you have to do it using math. But there’s more than one way to do that.

Photoshop recognizes four different color models, in fact. Each of these is a way of defining a color by specifying its components. For example, we all learned in school that red, blue, and yellow are the primary colors, but many of us never realized two very important facts about that concept. First, red, blue, and yellow are just rough equivalents of the true primary colors of magenta, cyan, and yellow. Second, those colors are the subtractive primaries—the ones that you use when you’re combining pigments. When you’re creating colors on a computer screen, however, you’re combining colors of light, not pigments, so the primary colors in that situation are different; they’re the additive primaries of red, blue, and green.

So that gives you two different models right there: CMYK (which stands for cyan, magenta, yellow, and black) and RGB (which stands for red, green, and blue). Photoshop can also work with the HSB (hue, saturation, and balance) and CIE Lab color models. Each Photoshop image exists in one of these color spaces, and you specify which one by assigning each image a color mode. This image attribute controls which color model Photoshop uses to define the colors in that image.

This hour examines these models for displaying and describing color, and then turns to the Photoshop modes so you can see how all this color theory translates into your everyday dealings with color in Photoshop.

Color Models

In Photoshop, you use the Adobe Color Picker to specify colors in several different models (see Figure 4.1). You can reach the Color Picker by clicking either of the color swatches at the bottom of the toolbar. You’ll see a color bar with a slider control alongside a graduated color field, which you can click to select a particular shade. The Color Picker also features text-entry fields that display the values for the chosen color in each of the four color models. If you know the numerical values for a color, you can enter those in the text fields, and the color fields and the color bar update themselves to show the specified color.

The Adobe Color Picker is designed to make it easy for you to define the colors you want to use.

Figure 4.1. The Adobe Color Picker is designed to make it easy for you to define the colors you want to use.

If the Color Picker isn’t your cup of tea, you can define colors in Photoshop’s Color panel (see Figure 4.2). If you don’t see it on the screen, you can open it by choosing Window, Color. Its color field, along the bottom, covers the full color spectrum for the specified color mode, plus black and white. Clicking anywhere on it sets the Foreground color to that color and simultaneously adjusts the sliders and text-entry fields to reflect the values for that color. To see the controls for a different color mode, make a choice from the panel’s pop-up menu.

The Photoshop Color panel’s adjustable sliders show the same color value as its clickable color bar, which represents the full color spectrum in the specified color mode.

Figure 4.2. The Photoshop Color panel’s adjustable sliders show the same color value as its clickable color bar, which represents the full color spectrum in the specified color mode.

Note: Pick a Different Picker

If your Color Picker doesn’t look like this one, you’re seeing the one that comes with your system software. Open Preferences to the General pane and reset the Color Picker to Adobe.

RGB

The RGB model, which computer monitors and TV screens use for display, defines colors in terms of their proportions of each of the three RGB primary colors—red, green, and blue—assigning a value between 0 and 255 to each. For example, pure green has red and blue values of 0 and a green value of 255. To get pure white in the RGB model, you must combine all three RGB primaries at their highest value of 255. In fact, that’s why RGB is called additive color—because adding the three primary colors together produces white. Conversely, black is formed when all three of the RGB primary colors have a value of 0. And when the value of each RGB primary is 128 (half of 255), you get medium gray.

Note: How Color Translates to the Web

Because web pages are displayed on computer screens, web designers use RGB to define colors. But they use a slightly different dialect: hexadecimal notation. In this method, each color is represented as a six-digit number in the hexadecimal system instead of the decimal system, with the first pair of digits indicating the amount of red, the second pair indicating the amount of green, and the third pair indicating the amount of blue. Hexadecimal numbers use the letters A through F to represent the numbers 10 through 15 with a single digit. This system results in values such as FFFF00 (bright yellow) and 66D2F6 (sky blue). Photoshop gives you the hexadecimal code for each specified color at the bottom of the Color Picker, just under the RGB text entry fields.

CMYK

The CMYK model describes colors according to their percentages of cyan, magenta, yellow, and black. These are the four colors of printing inks, both in your inkjet printer and in the high-resolution color printers and printing presses that you see in service bureaus and commercial print shops. A six-color inkjet printer adds light cyan and light magenta to the four basic colors to produce a wider overall range of colors.

HSB

Artists usually talk about color by using a set of parameters called HSB, and Photoshop can also use this color model. H stands for Hue, which is the basic color, as shown on a color wheel. It’s expressed in degrees (0°–360°) that correspond to the positions on the color wheel of the various colors. For example, red is at 3 o’clock on the color wheel and is designated as the zero point. Directly across from red on the wheel is cyan, at the 9 o’clock position, with an H value of 180°.

In the HSB model, S stands for Saturation, or the strength of the color, and it’s measured as 100% of the color minus the percentage of gray it contains. Pure color with no gray in it is considered to be 100% saturated. Neutral gray, with no color at all, is 0% saturated. Saturated colors are found at the edge of the color wheel; saturation decreases toward the center of the wheel. If you look at the Apple Color Picker in Figure 4.3, this makes a lot more sense. Finally, the B component in HSB is Brightness, the relative lightness of the color, and it is also measured as a percentage, with 0% signifying black and 100% signifying white.

The Apple Color Picker takes the form of a standard color wheel.

Figure 4.3. The Apple Color Picker takes the form of a standard color wheel.

Note: Is Black a Primary Color?

As I explained earlier in this hour, cyan, magenta, and yellow are the subtractive primaries, which means that you have to subtract 100% of each color from black to get white. But how did black get to be one of the component colors in CMYK, too?

The CMYK model includes black purely as a matter of practicality. In theory, you can mix 100% cyan, 100% magenta, and 100% yellow to get black. In practice, when you do that, you get a smeary mess. So printers, both the electronic kind and the people who run printing presses, use black ink to get nice, clear black areas in their images. So black isn’t a primary color at all, but it’s definitely part of the CMYK color model.

CIE Lab

The most encompassing of the color models Photoshop can work with is CIE Lab. It defines a color gamut (a range of colors) that is broader than that of any of the other models we’ve looked at so far. Because of its broad color gamut, Photoshop uses the CIE Lab model to convert images from one color model to another—sort of like a universal translation language. Lab colors are defined in terms of luminance plus two components (a and b), which move, respectively, from green to red and from blue to yellow. Lab color is designed to be device-independent, meaning that the range of colors defined in this model isn’t restricted to the range that can be printed or displayed on a particular device. However, you’ll probably never run into a reason to actually use this model.

From Models to Modes

Now it’s time to look at how you apply these color models to the images you edit and create in Photoshop. First, forget about CIE Lab color unless you have an extensive education in color theory. It’s there—Photoshop uses it in the background—but you don’t have to worry about it. The other three models—HSB, RGB, and CMYK—are much more relevant to your work in Photoshop.

The difference between modes and the models is simple: Models are methods of defining color, and modes are methods of working with color based on the models. HSB is the only model without a directly corresponding mode. CMYK and RGB have corresponding modes in Photoshop, as does Lab. Photoshop also has modes for black-and-white, grayscale, and limited-color images.

The Photoshop modes listed under the Image, Mode submenu are as follows:

  • Bitmap

  • Grayscale

  • Duotone

  • Indexed Color

  • RGB Color

  • CMYK Color

  • Lab Color

  • Multichannel

You’ll do almost all of your work in Photoshop using just four of these modes: Grayscale, RGB, CMYK, and Indexed Color. Let’s take a closer look at the big four.

Bitmap and Grayscale

Let’s start with the most basic of the color modes that Photoshop has to offer: Bitmap and Grayscale. Images in Grayscale mode can contain up to 256 shades of gray, ranging from white to black and covering all the territory in between. Bitmap images use only two colors—black and white (see Figures 4.4 and 4.5 for examples).

What we think of as black-and-white photos actually use Photoshop’s Grayscale mode.

Figure 4.4. What we think of as black-and-white photos actually use Photoshop’s Grayscale mode.

Here’s how the same image looks in Photoshop’s Bitmap mode.

Figure 4.5. Here’s how the same image looks in Photoshop’s Bitmap mode.

As you look at Figures 4.4 and 4.5, pay attention to the huge difference in quality. The Grayscale image’s color shade gradually into each other, whereas the Bitmap image’s colors don’t. However, you have a number of ways to convert to image Bitmap mode that can compensate for the fact that it contains only two colors; we discuss those later in this hour.

Whenever you plan for a picture to be printed in black and white or grayscale—for instance, as part of a newsletter or brochure—it makes sense for you to work on that image in Grayscale mode. If you’re starting with a color image, doing the conversion yourself (instead of sending a color photo to the printer) gives you the opportunity to make sure that the picture will print the way you want it to. You can tell by looking at the picture whether the dark parts of the image need to be lightened or the light grays need to be intensified to bring out more detail. You can both adjust the overall level of contrast in the photo and work on individual trouble spots. All this adjustment would take a lot of guesswork if you kept the image in a color mode instead of converting it to Grayscale mode.

The simplest way to convert a color photo to Grayscale is to choose Image, Mode, Grayscale. Photoshop asks you for permission to discard the color information. Click OK to confirm that this is what you want to do; the picture is converted to shades of gray. To convert a color picture to Bitmap mode, as you might want to for certain special effects, you must convert it first to Grayscale mode and then to Bitmap mode; you can’t go directly from a color mode to Bitmap mode.

RGB

RGB is the appropriate color mode for working on pictures that will be viewed on a computer or television screen. If the pictures you’re editing in Photoshop will end up as part of a web page, a presentation, or some other medium, stick with RGB for the best color rendition. If your work will eventually be converted to indexed color mode as part of saving it in GIF format, I still recommend doing the color adjustments in RGB and then converting the picture to Indexed Color when it has achieved its final form. That way, you can start with all the colors you need and reduce their number when your work is done. Also, if you work directly in Indexed Color mode, you can’t use layers or any of Photoshop’s filters, and that’s out of the question.

Tip: Watch Your Gamut

Gamut refers to the range of colors that a particular color device can print. Some RGB colors are out of gamut for the combination of CMYK inks that desktop printers and commercial presses use and can’t be printed accurately. Very bright colors, particularly oranges and greens, are often out of gamut. You can turn on a gamut warning to let you know that these colors won’t print correctly.

With your image open in Photoshop, in the Transparency & Gamut section of Photoshop’s Preferences, click the color swatch in the Gamut Warning area and choose a color that will stand out from the colors in your image. Then choose View, Proof Setup, Custom. In the Customize Proof Condition dialog, choose your printer from the Device to Simulate pop-up menu and click OK. Finally, click the View menu once more and make sure that Proof Colors and Gamut Warning are both checked.

After making these settings, you’ll probably find that your picture is speckled with splotches of the gamut warning color, to a greater or lesser degree. Now you know what parts of the image won’t reproduce correctly on your printer, and you can use the methods described in Hour 5, “Adjusting Brightness and Color,” to modify these colors enough that the gamut warning disappears. Don’t worry if some of the gamut warning color is still there when you’re ready to print; as with guides and gridlines, the gamut warning won’t show up on a printout.

If you’re choosing colors for type or other objects in the image, you can watch out for another gamut warning. It shows up on the Color panel and in the Color Picker as a small triangular traffic warning sign with an exclamation point in the middle. When you see it, you can click it to modify the color to the closest equivalent within your printer’s gamut.

CMYK

As you saw earlier, you should use CMYK mode only when your image is printed commercially. By converting to CMYK before you send an image to the printer, you can make sure that your nice yellow banana or flower doesn’t end up a muddy brown, or your bright blue sky doesn’t print as purple. Think of it this way: If you’re writing a poem, you want to write it in the language in which it will eventually be published. You don’t want someone else to ineptly translate the poem into a different language, thus changing your meaning and obscuring the beauty of your words. Along the same lines, if your picture will be printed in CMYK, you want to edit it in CMYK.

Desktop inkjet printers are an exception to this rule, however. Yes, they use cyan, magenta, yellow, and black inks, but their software drivers are set up to convert from RGB to CMYK in the most accurate way for their particular hardware. If you send a CMYK image to an inkjet printer, the driver actually converts it to RGB and then back to CMYK before printing it. Imagine what would happen to your poem if it were translated twice in this way, and you’ll get an idea of how inaccurately a desktop inkjet printer can sometimes reproduce a CMYK image.

Indexed Color

Indexed color palettes are used to make images smaller by restricting the number of colors they can use. They’re primarily used to produce GIF files for use on the Web, where the time it takes to download an image is always a concern; the smaller the image, the faster it can be transferred from a web server to your computer so that you can view it. Because the colors in an indexed color image are limited, it’s not a good idea to use indexed color for continuous-tone images (such as photographs), because they use a lot more colors than you might realize as each color shades gradually into the next. Indexed color is great, on the other hand, for logos, simple illustrations and charts, and clip art because these images generally use fewer colors than photos in the first place.

Photoshop offers you several ways to build a color palette when you convert an image into Indexed Color mode. You can choose how many colors the palette contains and determine how Photoshop chooses those colors, or you can even pick them all out yourself. From RGB mode, choose Image, Mode, Indexed Color to take a look at the Indexed Color dialog box (see Figure 4.6).

The Indexed Color dialog box offers you several ways to convert an image.

Figure 4.6. The Indexed Color dialog box offers you several ways to convert an image.

Note: Playing It Safe on the Web

One of the best-known pre-existing palettes is the Web Safe palette. This group of colors consists of the 216 colors that are part of the basic system palette on both Windows and Mac systems. The point of using the Web Safe palette is that the image’s colors will remain consistent whether the image is viewed on a Mac or on a PC. The Web Safe palette is much less relevant than it used to be because most computer systems are set up to display millions of colors instead of the 256 colors many computers used in the old days. But if you’re a better-safe-than-sorry type, or if you intend for your work to be used on older computers that display only 256 colors, using the Web Safe palette certainly won’t hurt, and it might help keep your pictures looking the way you want them to.

To reproduce colors that aren’t included in their restricted palettes, indexed color images use a process called dithering, in which adjacent pixels of different colors are interspersed, visually blending onscreen to simulate a new color. If you zoom in on a dithered image, you can still see the pixels’ original colors—or the closest index equivalent.

Your palette choices when converting to Indexed Color mode are as follows:

  • Exact—This option takes all the colors that are in the RGB version of the image to build the indexed color palette. You’ll see this option only if fewer than 256 colors are used in the original image.

  • System (Mac OS)—This option uses the Macintosh System palette. Note that these colors might or might not be close to what already exists in the image, so using this option can change the image dramatically.

  • System (Windows)—This option uses the Windows System palette. Again, these colors might or might not be anything like what the image is currently using, so proceed with care.

  • Web—This palette uses the 216 colors in the Web Safe palette.

  • Uniform—The Uniform option bases the colors in the palette on a sampling of colors at regular intervals along the color spectrum.

  • Perceptual—This option creates a custom palette that’s heavy on colors the human eye has the greatest sensitivity to. You can use a local palette, based solely on the colors in the current image, or a master palette that draws colors from this image and others in a group of images you plan to display together on a website or CD-ROM.

  • Selective—The Selective option creates a color table (a list of colors) similar to one created by the Perceptual option, but this color table favors large areas of color and attempts to preserve web colors. Again, you can choose a local palette or a master palette.

  • Adaptive—This is your best bet for most work in Indexed Color mode. During conversion with this option, Photoshop samples the most frequently used colors from the original image. An Adaptive palette usually provides you with the closest match to the colors in the original image. This option also comes in both local and master flavors.

  • Custom—If none of the other options suits you, you can always build your own palette. When you choose Custom, a Color Table dialog opens. Click any of the color swatches in the custom palette to open the Color Picker and specify a different color. When you’re done, click Save to save a copy of the color table you’ve created so that you can load it for future image conversions.

  • Previous—This menu choice simply remembers and reverts to whichever option you chose the last time you converted to Indexed Color. It resets the dialog to the previous settings so you can see what they are before you click OK.

Tip: Choosing a Color Mode

I suggest that you do all your color work in Photoshop’s RGB mode, regardless of whether your final image will be printed or viewed onscreen. I have a simple reason for this. Even if you specify CMYK as the color model, your monitor can display only RGB. It doesn’t have cyan, magenta, or yellow pixels, except as combinations of RGB light. Instead of making Photoshop perform the CMYK-to-RGB conversion every time you change a piece of the image, wait and convert the picture when you’re ready to print, if you’re sending the image to a commercial print shop or fine arts Iris printer. If you’re using a desktop inkjet, remember that it’s designed to work best with RGB input, and skip the CMYK conversion altogether.

Converting Between Modes

All you have to do to convert an image from one color mode to another is choose Image, Mode and then choose the mode you want to use. Now, keep in mind that because different color models have different gamuts, Photoshop might have to change some of the colors in the image to fit it inside its new gamut. Photoshop uses the Lab color model, which has the broadest gamut and contains all the colors that other modes use, as a way to convert images between color modes. But this is no guarantee that your colors will look the same in another mode as they did in the original mode.

I’ll bet you can guess what I’m going to say you should do to combat this fact of life: Do your work in RGB, even if you plan to have your images professionally printed. Convert a copy of your image to CMYK just before you send it to the print shop. First, though, use the Gamut Warning command (described earlier in this hour) to see whether all your colors are within the CMYK gamut. If you are going to publish your images on the Web, stick with RGB or use Indexed Color mode for files that you plan to save in GIF or PNG-8 format. Following these guidelines will save you many hours of wondering why the web page logo that looked great on the office Macintosh looks funky on the Windows machine you use at home, or why the yellow in your printed piece has a brownish cast.

 

If you have a color printer, try reverting to RGB, and then print your picture and compare it to what you see onscreen. Does it look OK? If so, you’re in luck—your monitor is accurately calibrated. If not, you need to calibrate your monitor so that the images onscreen accurately display the colors as they will print. Calibration is covered in the “What’s Color Management?” section in Hour 23, “Printing and Publishing Your Images.” If your monitor seems to need calibration, you can jump ahead to that section.

Note: Color Is Critical

Whether they realize it or not, people pay a lot of attention to color. For example, all the marketing done by ING Direct, the online bank, has made its orange logo so identifiable that the company now includes the word “orange” in the names of all its account types: Electric Orange for checking, Orange Savings Account for saving, and Easy Orange for mortgages. When people see that shade of orange, they think of ING, even if it’s just subconsciously. And your eye for color might be even more accurate than you think it is; I’ll bet if I handed you a couple red color swatches, you’d have no trouble telling Washington Redskins burgundy from Ohio State scarlet and Boston Red Sox true red.

Color Bit Depth and Why It Matters

Bit depth is a way to describe how much color information is available about each pixel in an image. It’s also called color depth—and, as you might expect, more is better. A higher bit depth (meaning more bits of information per pixel) yields more available colors and more accurate color representation in your digital images. Common values for bit depth range from 1 to 64 bits per pixel, but you will find that your color Photoshop images tend to be either 8-bit or 16-bit.

8-Bit Color

It’s actually a little bit misleading to call 8-bit color by that name: What you really get with 8-bit color is 8 bits per color channel. So depending on the color mode you’ve chosen to work in, you have anywhere from 8 to 32 bits of information for each pixel. Because grayscale images have only one color channel, an 8-bit grayscale image really does have only 8 total bits of color data. In RGB mode, you have 8 bits each for the red, blue, and green color channels, making 24 total bits of color information. And in CMYK mode, you have 8 bits each for four channels, or 32 bits in all.

Note: The Fine Print on Bits

The term bit is an amalgamation of the words “binary digit.” Binary notation is a system of representing numbers that’s based on two possible values for each digit: 0 or 1. By contrast, in our standard decimal notation, each digit can have 10 values: 0 through 9. So if you have 8 bits that you can use to describe a color, that’s eight digits, each of which can have one of two values. That comes out to 256 possible values for that string of bits and, hence, 256 different colors or shades it can describe.

16-Bit Color

In older versions of Photoshop, not all of the tools and filters worked with 16-bit color. In Photoshop CS3, all tools and most filters became 16-bit compatible. Does this mean you should do all your work in 16-bit color? No. Technology moves forward in uneven leaps. Even though Photoshop can work in 16-bit color, your monitor can’t show you all the millions of colors your image can contain at the higher bit depth. And your home/office inkjet or color laser printer can’t possibly reproduce them. This could change eventually as new HDTV monitors and better printing inks come on the market. The next frontier will be 32-bit color—but Photoshop’s support for that at this point is still so limited that it’s best to leave it alone.

You can find out what kind of color an image uses by checking the setting in the Image menu’s Mode submenu. If the checkmark is next to 8 Bits/Channel, for example, then the image is in 8-bit color. Converting upward to 16-bit color won’t make a difference, so the only time you should see a checkmark next to 16 Bits/Channel is when the image came to you that way.

Summary

Color is fun to play with, but a lot of technicalities are involved in working with it. Color models are a way of describing colors; there are a lot of them, but the four color models that Photoshop understands are HSB, RGB, CMYK, and CIE Lab color. Photoshop’s color modes enable you to use different color models for different images. RGB is the most useful color mode because it’s the way your monitor displays color. The CMYK and Grayscale modes, on the other hand, are used for printing.

In this hour, we discussed Photoshop’s color modes and how Photoshop makes use of the different color models. We also looked at what happens when you convert an image from one mode to another.

In the next hour, you’ll delve deeper into the world of color by learning how to make tonal adjustments and color modifications.

Q&A

Q.

Is there ever a time when I would want to work in Lab color?

A.

Professional photographers and prepress experts use the Lab color mode for very sophisticated color adjustments and conversions, but it’s unlikely that you’ll ever run into a need for it. Take it from me—I’ve been using Photoshop for almost 20 years, and I never use Lab color.

Q.

I thought you said it was called CIE Lab, not just Lab. What does “CIE” mean?

A.

It stands for Commission Internationale de l’Éclairage, which is French for International Commission on Illumination. As you probably know, the French have a commission for everything, and CIE is their governing body for standard methods of describing color. The CIE standards are used worldwide.

Q.

Why isn’t the CMYK gamut larger than the RGB gamut, when CMYK has four color channels instead of only three?

A.

A color model’s gamut doesn’t include all the colors that can theoretically be described using that model; it includes only the colors that can really be achieved. Because pigments can go all muddy when you mix them together, some colors that you could produce with CMYK in theory just don’t work in practical conditions. Colored light, the basis for the RGB color model, doesn’t have that problem.

Workshop

Quiz

1.

How many colors can an indexed color palette contain?

  1. 2

  2. 8

  3. 256

  4. Millions

2.

What primary color is directly opposite red on the color wheel?

  1. Cyan

  2. Green

  3. Yellow

  4. Blue

3.

True or false: HSB stands for hue, saturation, and blackness.

Answers

1.

C. But you can choose them from the millions of colors contained in the RGB gamut.

2.

A. Each of the RGB primaries is opposite one of the CMY(K) primaries; red is opposite yellow, and green is opposite magenta.

3.

False. The B in HSB stands for brightness, not blackness; however, a brightness value of 0 combined with any hue or saturation level does yield black.

Exercise

Here’s a chance to get your own mental picture of which RGB colors just don’t translate to CMYK. First, create a new blank document in RGB mode. Choose View, Swatches to bring up the Swatches panel; then switch to the Paint Bucket tool. (It’s under the Gradient tool.) Click the first red swatch at the top of the panel and then click in the window to fill the image with red. Now choose Image, Mode, CMYK to switch to CMYK mode. See how the color darkens? Press Command-Z/Ctrl+Z to undo, and then fill the window with the first blue swatch at the top of the window (not the cyan one—we want royal blue, which is the blue from RGB). Switch to CMYK mode again. See the huge color change? These two colors, true red and true blue, just can’t be reproduced exactly in CMYK. Now repeat this process with different colors from the Swatches panel, each time reverting to RGB mode before filling the image window. Note which colors change the most when you switch to CMYK and which ones change the least.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset