How Digital Color Spaces Work

Photo: Steve A Johnson / Pexels
A photo that looks rich and saturated on a laptop screen can look noticeably flatter the moment it's uploaded to a website, or duller still once it comes back from a print shop. That's rarely a broken file or a bad printer. It's almost always a color space mismatch: a set of numbers describing color that meant one thing in the software where the image was edited and something narrower wherever it landed next. Understanding why requires going back to how color spaces are built in the first place, starting with an experiment from the 1920s that had nothing to do with computers at all.
A color space is a translation table, not a universal truth
Color space — a defined, mathematically bounded set of colors that a specific numeric system can represent, along with the rules for converting those numbers into actual visible light or ink. The number red 255, green 0, blue 0 does not point to one single, fixed shade of red anywhere in the universe. It's an instruction, and what that instruction produces depends entirely on which color space is doing the interpreting.
This sounds abstract until you picture it as a currency exchange. A file that says "255, 0, 0" is like a price tag that says "100." Is that 100 US dollars, 100 Japanese yen, or 100 Turkish lira? The number alone tells you nothing; you need to know the currency, the color space, before the value means anything. A wide-gamut color space like Adobe RGB can express far more saturated reds and greens with the same three numbers than a narrower space like sRGB, the same way 100 yen and 100 dollars buy very different amounts. Feed a file's numbers into the wrong "currency" and every color comes out wrong, sometimes subtly, sometimes badly.
This is also why two different color spaces can each be internally self-consistent and correct, and still produce visibly different images from identical files. Neither is lying. They're just using different dictionaries.
The CIE 1931 color space: measuring human vision before there were screens
Long before anyone built a digital display, scientists needed a way to describe color mathematically that matched how human eyes actually perceive it, not how physicists describe wavelengths of light. In the 1920s, researchers W. David Wright and John Guild independently ran a series of color-matching experiments: observers looked at a small circular screen split into two halves, subtending a two-degree arc of vision to roughly match the area of the retina packed most densely with color-sensitive cone cells. One half showed a fixed test color; the other let the observer dial in a mix of three primary lights, at standardized wavelengths of 700 nanometers (red), 546.1 nanometers (green), and 435.8 nanometers (blue), until the two halves matched (Wikipedia, CIE 1931 color space, sourcing Wright's and Guild's original experiments).
Wright tested ten observers and Guild tested seven. Averaging their results produced what's called the CIE standard observer, a mathematical model of an average human's trichromatic color perception, meaning vision built from three types of cone cells sensitive to different wavelength ranges. In 1931 the International Commission on Illumination (Commission Internationale de l'Éclairage, hence "CIE") formalized these results into the CIE 1931 color space, still the foundational reference model that every modern color space, including sRGB, Adobe RGB, and DCI-P3, is defined against.
This matters because it means color spaces aren't arbitrary engineering choices. They're all attempts to carve out a usable, device-reproducible slice of the same underlying map of human color perception established nearly a century ago. When color scientists say one color space has a "wider gamut" than another, they mean it covers more of that CIE 1931 map, not that it invents new colors humans couldn't otherwise see.
Why the two-degree field of view matters
The CIE 1931 standard observer model is based specifically on foveal vision, the two-degree arc where cone cells are densest. Color perception measured at wider viewing angles, where rod cells and different cone densities come into play, differs slightly, which is why a later refinement, the CIE 1964 10-degree standard observer, exists for large-field color matching such as textile and paint sample comparison.
RGB is additive: how screens build color from light
Every digital screen builds color by mixing red, green, and blue light. This is an additive color model, meaning combining more of each color channel moves the result toward white, the opposite of how mixing paint works, where combining pigments moves toward black or brown. Each channel is typically stored as an 8-bit value ranging from 0 to 255, which gives 256 x 256 x 256, or roughly 16.7 million, possible color combinations per pixel in standard 24-bit color.
Think of it like three colored spotlights aimed at the same spot on a stage: a red spotlight and a green spotlight overlapping produce yellow, and all three at full brightness produce white. That's fundamentally different from mixing red and green paint, which produces a muddy brown, because paint works by subtracting wavelengths of light through absorption rather than adding light sources together. A screen is emitting light directly into your eye; a painted surface is only reflecting whatever ambient light happens to hit it, minus whatever wavelengths the pigment absorbs.
It's worth being honest about a limitation here: 16.7 million theoretically storable values per pixel does not mean the human eye can distinguish 16.7 million different colors. Estimates of human color discrimination vary by study methodology, but the practical takeaway for image quality is that bit depth mostly matters for how much editing headroom a file retains, not for whether the final image looks visibly richer to an average viewer.
Why 8 bits per channel became the default
Eight bits per channel emerged as a practical compromise between file size, processing speed, and the display technology available when digital imaging standards were being set in the 1990s. Higher bit depths (10-bit, 12-bit, or the 16-bit-per-channel files common in raw photo editing) reduce visible banding, gradual gradients breaking into visible stepped bands, during heavy editing, but most consumer displays and web delivery formats still compress back down to 8-bit for final output.
sRGB, Adobe RGB, and DCI-P3: three answers to the same problem
sRGB (standard RGB) was developed jointly by HP and Microsoft and published in 1996, later standardized formally as IEC 61966-2-1 by the International Electrotechnical Commission. It was deliberately built to define a consistent, moderate color range that the CRT monitors of the mid-1990s could actually reproduce accurately, which is exactly why it became the default assumption baked into web browsers, most consumer cameras, and the vast majority of digital displays that followed (Pixflow, 2024).
Adobe RGB, released by Adobe in 1998, covers a noticeably wider range of greens and cyans than sRGB. Photographers and designers who need to preserve subtle differences in foliage greens or sky gradients during editing often shoot and edit in Adobe RGB, then convert down to sRGB before final web delivery, because browsers and most consumer screens still assume sRGB by default. Skip that conversion step and an image can look desaturated or shifted, since the destination device is reading the file's wider-range numbers using the narrower sRGB scale, the currency-exchange problem again.
DCI-P3 (Digital Cinema Initiatives, P3) was defined in 2005 for theatrical digital projection and covers roughly 25% more of the visible gamut than sRGB, reaching about 86.9% of what's known as Pointer's gamut, a reference set of real-world surface colors, compared to sRGB's 69.4% (Wikipedia, DCI-P3). DCI-P3 has since become common in high-end consumer displays, including many modern phones and laptop screens, which is part of why photos and video shot on recent smartphones can look more vivid on the phone itself than once they're viewed on an older, sRGB-only monitor.
Gamma correction — a mathematical curve applied to color values before storage or display, compensating for the fact that both human eyes and CRT-style displays don't perceive or reproduce brightness in a straight linear line from dark to light. Without gamma correction, images encoded and displayed with raw linear light values look either too dark in the shadows or wash out the midtones, because doubling a stored brightness value doesn't double how bright a pixel looks to a human eye.
Why CMYK is a different problem entirely
Print production commonly uses CMYK, standing for cyan, magenta, yellow, and key (black), a subtractive color model that matches how physical ink actually behaves on paper. Where RGB starts from darkness and adds light, CMYK starts from white paper and subtracts light by layering pigments that absorb specific wavelengths, meaning combining all four channels moves toward black rather than white.
This has a genuinely different achievable gamut than any screen-based RGB space, not just a smaller one uniformly, but a differently shaped one. CMYK printing tends to struggle most with vivid greens, oranges, and certain saturated blues that RGB screens render easily, since ink pigments can't physically produce those wavelength combinations as cleanly as an emitting light source can. That's one reason a vivid on-screen logo or design can look noticeably duller once it comes off a commercial press, even when the printer and paper are both high quality.
Anyone who has ordered prints of a photo edited on a laptop has likely noticed this gap directly: the print looks flatter or shifted compared to the screen version, even through a professional print service. It isn't a quality failure on the printer's part. Screens emit light directly at your eye; a printed page only reflects whatever ambient light happens to be in the room, filtered through layers of absorptive ink, which is a fundamentally different physical process from an LED or OLED panel firing colored light straight at your retina.
How professional print workflows manage the gap
Professional print workflows address the RGB-to-CMYK gap with a technique called soft proofing, where editing software temporarily simulates how an image will render once converted to a specific CMYK printer profile, letting an editor make adjustments before committing a file to print. This is also why professional print shops ask for a file tagged with a specific ICC profile rather than a plain JPEG, since the profile tells the printer's color management software exactly how to interpret and convert the file's numbers, cutting down the guesswork responsible for the worst screen-to-print surprises.
ICC profiles: how software knows which dictionary to use
ICC profile — a standardized data file, defined by the International Color Consortium, that describes exactly how a specific device or color space maps numeric color values to actual visible color, allowing software to convert accurately between different spaces and devices.
The International Color Consortium was formed in 1993 by eight industry vendors, including Adobe, Agfa, Apple, and Kodak, specifically to create a cross-platform standard for color management, since before that, every operating system and printer vendor had its own incompatible way of describing color. An ICC profile embedded in an image file functions like a passport: it tells any downstream software exactly which color space the numbers inside the file were written in, so the receiving device can translate accurately instead of guessing.
Without an embedded profile, software has to assume a color space, and that assumption is almost always sRGB, since it's the most common default. That assumption is usually a safe bet for casual images but a real liability for anyone working in a wider gamut like Adobe RGB or ProPhoto RGB, since a file with no embedded profile viewed on a color-managed system with the wrong assumption will display incorrectly, sometimes dramatically so, with reds and greens pushed toward oversaturation or muddiness depending on the mismatch direction.
What people get wrong about color spaces
A common misconception is that a "better" or more expensive monitor automatically shows more accurate or more colors than a cheaper one. In reality, a monitor's actual gamut, meaning the physical range of colors its backlight and panel can produce, is a hardware property independent of the color space assumption in the software feeding it. A wide-gamut monitor displaying an sRGB-tagged file through a non-color-managed application can actually oversaturate the image, since the display hardware is capable of producing more vivid colors than the file's numbers were designed to represent, and without proper color management the extra headroom gets used incorrectly rather than ignored.
Another frequent mistake is assuming that converting a narrow-gamut file, one already saved in sRGB, into a wider space like Adobe RGB will somehow add back detail or vibrance that was never captured. Color space conversion can only redistribute or reinterpret data that already exists in a file; it cannot invent new color information that was never recorded in the first place. Converting sRGB to Adobe RGB simply relabels the existing numbers to a wider scale without adding any real additional color fidelity.
People also frequently assume gamut size alone determines image quality, when in practice a correctly calibrated, properly profiled sRGB workflow will produce more consistent, predictable results across devices than a wide-gamut workflow managed carelessly without embedded profiles. Gamut size is a ceiling on possible vividness, not a guarantee of accuracy.
Color space vs. color gamut vs. color model: sorting out the terms
These three terms get used interchangeably in casual conversation, but they describe different layers of the same system, and mixing them up makes color management genuinely confusing to troubleshoot.
| Term | What it describes | Example | Analogy |
|---|---|---|---|
| Color model | The mathematical framework for describing color with numbers | RGB, CMYK, HSL | The type of currency system (decimal vs. fractional) |
| Color space | A specific, bounded implementation of a color model, tied to a defined range and interpretation | sRGB, Adobe RGB, DCI-P3 | A specific national currency (US dollar vs. Japanese yen) |
| Color gamut | The actual range of colors a space or device can represent or reproduce | sRGB's ~35% coverage of CIE 1931 | The spending power a currency has in a given market |
A color model defines the math, a color space defines the boundaries within that math, and a gamut describes how much of the visible color range those boundaries actually cover.
What this means for everyday image work
The practical fix for most color mismatch frustration is consistent, deliberate use of embedded ICC profiles and a conscious choice of which color space to work in at each stage: wide-gamut for editing headroom, sRGB conversion before web delivery, CMYK soft-proofing before commercial print. None of that requires understanding the CIE 1931 experiments in detail, but it helps to know that every color space in use today, from a phone camera's default JPEG output to a cinema projector's DCI-P3 signal, traces back to that same 1931 attempt to put numbers on how human eyes actually see. The mismatches that make a photo look washed out or a print look dull aren't random glitches. They're the predictable result of one dictionary's numbers being read by a system using a different dictionary, and the fix is always the same: agree on which dictionary is in use, at every step, before the color numbers change hands.
Read next:
- How pigments create color in paintings
- How perspective tricks the eye
- How ultraviolet light reveals restoration
FAQ
Q: Why does my photo look different on the web than it did in my editing software?
This is usually a color space mismatch. If the image was edited in a wide-gamut space like Adobe RGB but the web assumes sRGB, colors outside sRGB's narrower range get reinterpreted, often appearing desaturated or shifted from how they looked during editing, especially in saturated greens and cyans.
Q: What is the difference between RGB and CMYK?
RGB is an additive model used by screens, mixing red, green, and blue light toward white. CMYK is a subtractive model used in printing, where cyan, magenta, yellow, and black inks absorb light and mix toward black, giving it a different, and in some color ranges narrower, achievable gamut than screen-based RGB.
Q: Why did sRGB become the standard for the web?
sRGB was developed by HP and Microsoft and published in 1996, later standardized as IEC 61966-2-1, specifically to define a consistent, moderate color range that consumer CRT monitors of that era could reliably reproduce. That practicality is why most software and websites still default to assuming sRGB today.
Q: What is the CIE 1931 color space and why does it matter?
The CIE 1931 color space is a mathematical model of average human color perception, built from color-matching experiments by W. David Wright and John Guild in the 1920s and formalized by the International Commission on Illumination in 1931. Every modern color space, including sRGB, Adobe RGB, and DCI-P3, is defined as a bounded region within this same underlying map of human vision.
Q: Does more bits per color channel always mean visibly better color?
Not necessarily beyond a certain point. More bits increase the number of storable values per channel and reduce visible banding during heavy editing, but the human eye's ability to distinguish adjacent shades is limited, so gains beyond standard 8-bit-per-channel color mostly benefit editing headroom rather than obviously improving how a finished image looks to most viewers.
Q: What does an ICC profile actually do?
An ICC profile is a data file, defined by the International Color Consortium, that describes exactly how a device or color space translates numeric color values into visible color. Embedding one in an image file lets other software interpret the file's colors correctly instead of guessing, which is why print shops specifically request ICC-profiled files rather than plain, untagged JPEGs.
Follow new articles
Add SciHub101 to your feed reader to see new science and technology stories.
About the Author
SciHub101 is an independent science and technology publication founded and edited by Buğra Sözeri, a software engineer and app developer based in Türkiye. AI tools assist with drafting and research. Source documentation in the existing archive is uneven, and articles are being reviewed and corrected. The Editorial Team byline identifies editorial responsibility; it does not certify specialist or independent human review. Where we compare products, anything built by our own team is labelled as such — see the editorial guidelines and About page for how corrections and disclosures work.
Related Articles




Color Theory: How Artists Use the Science of Color
Color is physics, biology, and psychology at once. Tracing color theory from Newton's prism to Chevreul, Seurat, and Albers shows why certain paintings feel the way they do.

How to Use Canva AI: Design Like a Pro for Free (2026 Guide)
How to use Canva AI on the free plan: what each tool does, how the monthly AI allowance works, prompt tips, design checks, and the copyright limits.
