Skip to content
Tutorials Center
My learning

Topics

Lesson 3 of 37 ยท Getting Started

Colour Modes and Bit Depth

Learn RGB, CMYK, Grayscale, Lab and Indexed colour modes in Photoshop, what 8-bit and 16-bit mean, and when to convert, with maths stand-ins.

Every pixel stores a colour as numbers, and the colour mode decides which numbers. Choose the wrong mode and screens look dull, prints come out muddy, or filters you want are greyed out in the menu. The bit depth decides how finely those numbers can vary, which matters most when you edit hard. This lesson explains both and tells you which to pick.

Photoshop is not available in this site's code boxes. The snippets are stand-ins that perform the same conversions Photoshop does, in simplified form.

Channels: the layers inside an image

A colour mode splits each pixel into channels, one number per channel. In RGB you have three: Red, Green and Blue. Open the Channels panel (Window > Channels) and you will see each one as a greyscale picture: white means "lots of this colour", black means "none". The composite you see on screen is the channels added together.

  • RGB is additive light. Screens start black and add red, green and blue light. Full R, G and B make white.
  • CMYK is subtractive ink. Paper starts white and cyan, magenta, yellow and black (K) inks absorb light. CMYK has four channels.
  • Grayscale has one channel, brightness only.
  • Lab separates lightness (L) from two colour axes (a and b). It is device-independent and useful for advanced colour work.
  • Indexed Color limits the image to a palette of up to 256 colours (used for some GIFs).
  • Bitmap is pure black and white, no greys.

Pick the mode for the output

RGB Screens, web, video, most editing.
CMYK Professional offset printing.
Grayscale One-channel black and white.
Indexed Small palettes, some GIFs.

Edit in RGB, convert at the end if needed.

1 / 2

Choosing a mode

Change the mode with Image > Mode. Some practical guidance:

  1. Work in RGB for almost everything. It has the widest range of editing features, the largest set of working filters and effects, and smaller files than CMYK. Many tools and filters are unavailable in other modes.
  2. Convert to CMYK only for print when a print shop asks for it, and do it at the end on a copy. The conversion is lossy: some bright RGB colours (vivid blues, greens and oranges) fall outside the CMYK range, so they dull.
  3. Use Grayscale for true black-and-white images or when a print job is single-colour. For stylised black-and-white photos, stay in RGB and use an adjustment layer instead, so you keep control (see Adjustment Layers).
  4. Use Indexed only if you really need a limited palette. Many web formats today (PNG-24, WebP) handle full colour.

You can preview CMYK without converting: View > Proof Setup and View > Proof Colors (Ctrl/Cmd + Y) simulate a print profile on screen while you stay in RGB, and View > Gamut Warning highlights colours that cannot be printed.

Converting RGB to CMYK and back does not restore the lost vividness. Keep an RGB master file and make CMYK from a copy.

Bit depth

Bit depth is how many bits store each channel value. In 8-bit images each channel has 256 levels (0 to 255), giving 256 x 256 x 256, about 16.7 million colours. In 16-bit each channel has 65,536 levels, which is far more. 32-bit (floating point) is used for HDR images.

Why would you want more levels than the eye can see? Because editing stretches values. When you push contrast or brighten a dark area in 8-bit, neighbouring levels spread apart and gaps appear, producing visible banding in smooth gradients such as skies. 16-bit gives the edit room to work. Set it with Image > Mode > 8 Bits/Channel, 16 Bits/Channel or 32 Bits/Channel.

For final delivery to the web, 8-bit is standard. For photographs you will edit heavily (especially raw files), 16-bit is a good working depth, at double the memory per pixel. Some filters and tools are limited at 16/32-bit, which is the main reason people drop to 8-bit.

This stand-in shows how many distinct tonal steps survive a strong brightening edit when starting from 8-bit versus a finer source.

JS Stand-in: levels and banding

Press Run (or Ctrl + Enter) to see the console output here.

No output.

The 8-bit stretch leaves only 32 distinct output tones for what should be a smooth ramp, and the 16-bit one fills all 256 final levels. That is the practical reason for 16-bit editing.

RGB to grayscale and CMYK: the maths

Photoshop converts RGB to grayscale by weighting the channels according to how bright the eye finds each one: green counts most, blue least. A common recipe is 0.299 R + 0.587 G + 0.114 B. (Photoshop's exact result depends on colour profiles, so treat these numbers as an illustration.) A naive RGB to CMYK formula looks like this; real conversions use ICC profiles and ink limits, which is why a print shop's profile matters.

JS Stand-in: RGB to gray and naive CMYK

Press Run (or Ctrl + Enter) to see the console output here.

No output.

Notice that pure blue turns into gray 29, much darker than pure green's 94. That is why a black-and-white conversion of a blue sky and green foliage depends on the channel mix, and why Photoshop offers the Black & White adjustment with per-colour sliders.

Colour profiles in a sentence

A colour profile (ICC profile) tells software what the numbers in a file mean. sRGB is the safe default for the web. Adobe RGB and ProPhoto RGB cover wider ranges for photography and print. Set the document's profile in Edit > Assign Profile (relabel) or Edit > Convert to Profile (change the numbers to keep the look). Embed the profile on save so other programs show the same colours. We return to this when exporting.

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. Which mode should you use for most day-to-day editing?

    RGB has the most tools and filters and suits screens. Convert to CMYK later only if print needs it.
  2. 2. Why edit a photograph in 16-bit?

    16-bit stores 65,536 levels per channel, so heavy adjustments keep gradients smooth.
  3. 3. What does the K in CMYK stand for?

    K is the key plate, black ink.
  4. 4. How can you preview print colours while staying in RGB?

    View > Proof Setup and Proof Colors simulate a print profile without converting the file.

Summary

  • A colour mode defines a pixel's channels: RGB (light), CMYK (ink), Grayscale, Lab, Indexed, Bitmap.
  • Edit in RGB; convert a copy to CMYK at the end for print.
  • 8-bit gives 256 levels per channel, 16-bit gives 65,536; more bits prevent banding in heavy edits.
  • Use Proof Colors and Gamut Warning to preview print results.
  • Colour profiles (sRGB, Adobe RGB) say what the numbers mean; embed them.

Next: File Formats: PSD, JPEG, PNG, TIFF and More