Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

I'm a photographer, who dabbles in graphic design from time to time as well. What are the differences between the various color spaces?

share|improve this question
3  
In general terms, these are colour models, not colour spaces. –  e100 Jan 5 '11 at 14:28

9 Answers 9

up vote 23 down vote accepted

RGB is a additive, projected light color system. All colors begin with black "darkness", to which different color "lights" are added to produce visible colors. RGB "maxes" at white, which is the equivalent of having all "lights" on at full brightness (red, green, blue).

CMYK is a subtractive, reflected light color system. All colors start with white "paper", to which different color "inks" are added to absorb (subtract) light that is reflected. In theory, CMY are all you need to create black (applying all 3 colors at 100%). Alas, that usually results in a muddy, brownish black, so the addition of K (black) is added to the printing process. It also makes it easier to print black text (since you don't have to register 3 separate colors).

Most screens (computer, phone, media player, television, ect) are RGB (e-ink screens being an exception), the pixels have little subpixels that just show red, green or blue.

Most printers print in CMYK color (though some photo printers will print with expanded colors beyond those 4).

So if you're ever doing something for a screen, use RGB, if you doing something for print, use CMYK.

Update: Please keep in mind, that you can't display the exact same colors in RGB and CMYK.

share|improve this answer
3  
Not sure about the first two paras, especially "all colors start at white/black". I'd say something like "RGB is additive: red, green and blue light together produce white light. CMYK is subtractive: cyan, magenta, yellow and black inks filter the reflection of white light from a printed surface" –  e100 Jan 5 '11 at 14:20
    
@e100, by rgb starts with white, I mean that all you start with white for all colors, than modify it by mixing in colors, where cmyk starts with black and subtracts colors to mix to your color. So a printer it told not to use 100% of a color, but only a certain percent. –  dkuntz2 Jan 8 '11 at 23:56
5  
I disagree. With RGB you start with black - the absence of light; with CMYK you start with white paper. –  e100 Jan 26 '11 at 20:47
1  
e100 is correct and this answer by DKuntz2 is a fundamentally flawed way of looking at the physics of light. Seems it should be edited since the OP and answer seems to be content to let this answer sit? –  user179700 Jul 30 '11 at 9:14
1  
@e100: Edited the answer to correct the very wrong explanation originally provided. –  Unsigned Oct 17 '11 at 23:35

LAB (aka CIELAB), space is quite useful. It's good for exaggerating color differences, relating colors to color opponent theory. I do a lot of image enhancement and digital art creation from photographs in CIELAB or spaces that resemble it. Its main advantages are separation of color from brightness and roughly evenly spread out color changes - two points some given distance apart anywhere in that space are about the same subjective color difference, not to great accuracy but certainly better than RGB, CMY or HSV.

Sites to peruse concerning CIELAB and other color spaces:

http://wildinformatics.blogspot.com/2010/12/i-prefer-lab-color-model.html

http://www.normankoren.com/color_management.html

http://cultureandcommunication.org/deadmedia/index.php/Old_Color_Spaces#CIE_L.2Aa.2Ab.2A

share|improve this answer
1  
+1 for CIELAB. I would add this: hyperphysics.phy-astr.gsu.edu/hbase/vision/cie1976.html –  fish2000 Aug 13 '11 at 16:37

CMYK and RGB are the two colour spaces, methods of creating colour.

CMYK is subtractive, like paint/pigment. you start with nothing (white paper) and as you add more colours it eventually turns black. CMYK represents the standard coloured inks that printers use to create colours: cyan, magenta, yellow and black.

RGB is additive, the way light creates colours. You start with black (darkness) and as you add lights of more colours you eventually get white (all colours shining together like a regular lightbulb.. a blue lightbulb makes blue light because it filters out the green and red light.)

If you're working on computer monitors like on the internet, you will be using RGB because that is how monitors (and cameras and televisions) display colour. You don't have to worry at all about CMYK on the internet. But once you start printing things out, is when it matters. Most programs these days can convert between RGB and CMYK (although keep in mind whenever you see a cmyk image on your screen it's just an approximation because it is actually being displayed in rgb).

The main thing I've run into regarding rgb and cmyk is black. In cmyk you can make black by mixing cyan, magenta and yellow at their maximum strength, but you can make blacker black by also adding black ink at 100%. So be wary if you need to match two blacks, depending on your program they may appear the same.

Also keep in mind that not all colours can be reproduced in CMYK. This blew my mind when I first discovered it. But certain colours (generally very bright, bold colours like a very bright turquoise colour) can only be approximated in cmyk in a somewhat muted version. That's not to say the colour can never be printed, it's just very complicated, needing either paper treatments or additional colours of ink.

There's a few things you might run into in relation to colours, though, that I'll mentionAnother colour space you may run into is Indexed Colour. This is where each colour in the image is given a specific index to save space. This is technically separate from RGB/CMYK because it doesn't control how colours are formed, but rather how that information is stored on a computer. It does show up in the same lists sometimes.. And in photoshop you can't edit indexed colour documents without first converting them to rgb or cmyk, so keep that in mind!

You might also see HSB. This is Hue/Saturation/Brightness and is another way of objectively describing colours, and can be used to describe either rgb or cmyk colours. Hue describes the 'colour', around the rainbow from red to green to blue and back again. Saturation describes how colourful the colour is from grey (0 saturation) to as full and rich as possible (100). Brightness describes, well, the brightness; from black to somewhere in the middle to white.

share|improve this answer

HSV (also called HSB) is based on the RGB system - it's actually just a transformation of the RGB color space (so it's still additive, and is intended for computer displays). The three components of this color system are:

  • H: Hue. This is the angle on the color wheel. Starting with red at 0 degrees.
  • S: Saturation. This is the ammout of 'color' in the color. So if the saturation for an image is at 0%, then the image is greyscale.
  • V: Value (or B brightness). This is the brightness of the color, If this is at 0% then you have black, no matter what the hue and saturation values are. With V at 100%, every colour is at it's brightest.

So full red would be RGB(255, 0, 0), which is the same as HSV(0, 100, 100).

Another interesting color space which I've only recenlty discovered is the Munsell color system, and it's been helpful when choosing colors. I'm quoting from Why Programmers suck at Picking Colors here:

"While this feels a lot like HSV on paper (where chroma can be used as saturation), this color system is different in many important ways:

  • the colors are ordered based on perceptual information (aka human subjectivity) and not some physical property of the reflected light
  • the resulting color space is asymmetric (reds have a lot more chroma than blues, for example)
  • the color space is discrete (making picking easier)"

This is more for UI designers than photographers, but there's quite a bit of info on this NASA research page.

share|improve this answer
    
+1 for munsell (which is a good place to start, to clarify things)... I would add that HSV 'space' is more like a strategic warping of RGB; tristimulus values can be losslessly transformed between RGB and HSV. But if you like HSV, you'll loooove CIE-1976 L*a*b* (see the answer above on L*a*b* for more). –  fish2000 Aug 13 '11 at 16:40

Your original question has been adequately answered, but since you're a photographer, it's important to recognize that there are different RGB color spaces.

The three you'll most often come across in photography are "ProPhoto RGB", "Adobe RGB" and "sRGB". They all measure color using the RGB model (amounts of Red, Green and Blue light), but differ in their gamut. I've listed them in descending order of gamut.

You can look up each of them on Wikipedia, but the short version is that gamut is the range of colors that a color space can represent. sRGB is the standard for web graphics, but can't represent as many colors as AdobeRGB can. Likewise, ProPhoto RGB can represent colors that don't exist in AdobeRGB.

As a photographer, you generally try to shoot in the widest gamut color space that's available to you, to preserve as much of the "real" color as possible. Then, you convert to the appropriate color space for on-screen display, web, or printing.

If shooting in JPG, set the Color Mode setting on your camera to the widest gamut color space you can get. If you're shooting in RAW, there's no color space applied until your software starts interpreting the RAW data, so you can put off selecting a color space until that point. One of the many advantages of RAW.

I'd also like to second what DarenW said about Lab space. CIELAB 1931 is the product of an intense study of human vision, and is actually the granddaddy of color spaces. It's against CIELAB that all others are judged. Graphs of the popular RGB spaces gamuts' are often overlaid on the CIELAB gamut to illustrate how well they compare.

That said, using the Lab color mode for color correction can take a while to get used to, since we're so ingrained with RGB, but it is EXTREMELY powerful. Most of this comes from the fact that it separates color from brightness, as our eyes do, and allows you to adjust them independently.

For a quick look at some of the practical things you can use it for, check out this video by photographer Dan Margulis: http://revision3.com/pixelperfect/labcolor

share|improve this answer

It is a misnomer, or at least confusing, to say both: "RGB is based on light and it's additive because you start with no light" and "CMYK is based on ink and it's subtractive because you start with no ink".

It is easy to understand how RGB works, as the usual displays create colors by adding the additive primaries, red, green and blue, together in appropriate proportions. But what is being added and in relation to what?

In the context of RGB and CMYK the terms additive and subtractive both describe how the color models relate to perceived light.

Let's start with RGB. Your display is off and it does not produce any light rays on its own. You perceive only black.

You turn the display on and get a (totally) blue screen. Ideally all the blue sub-pixels emit light at the same wavelength with the same intensity. Compared to blackness, you've added some light and now perceive a blue color.

Next up, your display turns all the red sub–pixels on as well. The sub–pixels are close enough to make you to perceive a mix of lightrays at "blue" wavelengths and at "red" wavelengths. The lights don't get mixed up per se, but rather the perceived pink color is a result of how our eyes work.

Adding up third additive primary, green, the viewer ideally perceives white.


What is different in CMYK is that you have a physical object—let's say a piece of paper—that you view under illumination. All the light that hits the paper gets neutrally reflected to the perceiver and all you see is the color of the paper mixed with the color of the illumination; both ideally neutral.

Now you add cyan ink—what happens? You do not add some color that emits "cyan", but rather the cyan ink absorbs, subtracts, other wavelengths and passes "cyan", which is in the end reflected back to the perceiver. You perceive cyan not because you've added cyan, but rather because you've subtracted all the rest.

Understanding this will help you understand why prints look different on different types of paper even if you have specified exactly the same CMYK values. Paper, ink and illumination all affect how the colors are perceived. If you wish to calibrate your display for soft–proofing, you must take all of these into account.


From a digital photographer's viewpoint, in the majority of the cases the camera captures light rays in a RGGB (or similar) matrix, which is then interpolated to a RGB image. If you wish to print a RGB image, the RGB data must be converted to a color model your printer understands, e.g. CMYK or CcMmYK. If your RGB image has a color space included, the printer's raster image processor can do this for you.

What's happening backstage is:

  1. RGB image has a color space, e.g. sRGB
  2. The RGB values are calculated, according to the color space, to LAB values
  3. The printer has its own CMYK color space
  4. The LAB values are calculated, according to the color space, to CMYK values

LAB is always used as a "glue" between different color spaces—even between color spaces under the same color model (sRGB, Adobe RGB, ProPhoto RGB, …) . It is designed to approximate human color vision; although some of its colors fall outside the human vision gamut. It is device independent and as such it is better to understand as more or less theoretical color model—not something you could print with.

On some occasions, LAB could be a useful tool for a graphic designer: if you want a color that has the same hue, but half the perceived lightness, you just halve the L-component of the LAB-value.

Note that this is different (and arguably better) than the brightness component in HSB (hue–saturation–brightness) representation. This is because LAB approximates human color vision and HSB just represents RGB with different coordinates. As human vision doesn't perceive changes in brightness in a linear fashion, neither is the L-component in LAB linear in relation to HSB brightness. 50% gray may be RGB(128,128,128) for computers, but for humans it is more RGB(119,119,119).

In practice, that doesn't mean we see only 119×2=238 shades of gray, but rather that if we could make a gradient from LAB(0,0,0) to LAB(100,0,0) and compare it to a gradient from RGB(0,0,0) to RGB(255,255,255), the RGB gradient would be perceived as a bit imbalanced.


Long story short:

  • RGB is for displays
  • CMYK is for prints
  • LAB is used in conversion or a tool
  • HSB is a great tool—although it is not a color model, just a different representation of RGB.
share|improve this answer

RGB is an additive color space. If you mix the three base colors (red, green and blue) you get white. That is the model monitors use, if the red light and the green light and the blue light is mixed, it becomes white.

CMY (cyan, magenta and yellow) are suubtractive. If you mix all, you get black. That model is used by printers. If on a dot are printed all three base colors, it gets darker. But it is somewhat hard to mix a good black, thats why often Black is added to the color mix (thats the K in CMYK).

More information can be found in Wikipedia.

share|improve this answer

The difference between RGB and CMYK in simpler (and visual) terms :) Useful for beginners in starting to understand the difference without getting lost in the jargon. The infographic is long so i just linked it.

share|improve this answer
2  
Please be advised Stack Exchange prefers answers to be direct and links are generally frowned upon. Your link is nice but this question has been answered and accepted. –  Matt Mar 5 '13 at 23:21

In addition to the systems above, there's the Pantone spot colour system - used to print colours and finishes which would otherwise be impossible with CMYK (bright turquoise, purples). Often, companies will have their heart set on a certain branding colour that just happens to be not approximated well enough by CMYK, this is when you tell them the price for spot colours and they run away with their legs wheeling like in cartoons.

This system works by having each colour printed individually using custom dyes and finishes with no mixing with others.

share|improve this answer
1  
Pantone (or any spot color) isn't really a color space the same as CMYK or RGB. Even spot colors are piggy-backed on the CMYK color space. –  Scott Apr 28 at 21:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.