Home › Optics & camera tech

Colour spaces and bit depth explained

8 min read · Updated

A colour space defines the range of colours a file can describe; bit depth defines how finely it divides them. Use sRGB and 8-bit JPEG for the web, which most screens expect. For editing, work in 16-bit and a wider space such as Adobe RGB when you plan to print.

Colour spaces and bit depth explained
Image: BenRG and cmglee, CC BY-SA 3.0 · Wikimedia Commons

In short

  • A colour space is the range of colours a file can describe, called its gamut.
  • sRGB is the safe standard for the web and most screens.
  • Adobe RGB and other wide spaces help mainly for print and wide-gamut displays.
  • 16-bit editing reduces banding; export 8-bit for sharing.

What a colour space is

Digital images store colours as numbers. A colour space is the rule book that says which real colour each number means. Its gamut is the range of colours it can describe.

The same numbers can look different in two colour spaces. That is why files carry an embedded profile, and why a missing or wrong profile can make colours look dull or oversaturated.

sRGB

sRGB was defined in the 1990s as a common standard for monitors, printers and the internet. Most phones, browsers and online services assume it.

Its gamut is modest, especially in saturated greens and cyans, but because it is universal it is the safest choice whenever you do not control how a picture will be shown.

Adobe RGB and wider spaces

Adobe RGB covers a larger range, especially greens and cyans that many printers can reproduce. Even wider spaces, such as ProPhoto RGB, are used for editing to avoid clipping colours during adjustments.

Display P3 is a wide space used by many recent phones and laptops. A wide gamut only helps if the screen or printer can show it and the software handles colour management correctly.

Bit depth and banding

Bit depth is how many steps each colour channel has. An 8-bit channel has 256 levels; a 16-bit channel has 65,536. Raw files typically hold about 12–14 bits per channel from the sensor (approximate).

More steps matter when you edit heavily. Strong curves on a smooth sky in 8-bit can break the gradient into visible bands. Editing in 16-bit keeps transitions smooth, then you can export to 8-bit at the end.

Camera settings and raw files

The camera's colour space setting affects JPEGs and the preview. Raw files are not yet in a colour space; you choose one when converting.

If you shoot JPEG for quick sharing, sRGB avoids surprises. If you shoot raw, the setting matters little; choose the working space in your editor.

What to use for web and print

For web, social media and email: sRGB, 8-bit JPEG, with the profile embedded. For editing: 16-bit TIFF or your editor's native format in Adobe RGB or ProPhoto RGB.

For print, ask the lab which profile they want. Many consumer labs expect sRGB; fine-art printers often accept Adobe RGB and provide printer profiles for soft-proofing on a calibrated screen.

Frequently asked questions

Why do my photos look dull online?

Often a wide-gamut file was uploaded without conversion, and the browser or service treated it as sRGB. Convert to sRGB and embed the profile before exporting.

Should I set my camera to Adobe RGB?

Only if you shoot JPEG for print and manage colour carefully. For most people and for all raw shooters, sRGB on the camera is fine.

Is 16-bit JPEG possible?

Standard JPEG is 8-bit. Use TIFF, PSD or another format for 16-bit work.

Do I need a calibrated monitor?

For accurate print work, yes. A hardware calibrator makes your screen show colours closer to what the file contains.

Sources

Keep reading