Nepedia
Back to Discover
Advanced Reader
💻

sRGB

technology Maturity 9-11 Next article →

sRGB, or standard RGB, is a fundamental color space used across modern technology. It provides a common language for monitors, printers, and the World Wide Web.

Cie Chart with sRGB gamut by spigget
Cie Chart with sRGB gamut by spigget

This standardization ensures that colors appear consistent when moving between different devices. If an image lacks an embedded color profile, most systems assume it uses sRGB. This makes it the default standard for digital images globally. It acts as a bridge between how computers calculate light and how screens display it.

The system works by using three primary colors: red, green, and blue. These primaries define a color gamut, which is the total range of colors the system can represent.

CIE1931xy gamut comparison
CIE1931xy gamut comparison

The sRGB gamut is a triangle of chromaticities. This triangle sits well within the range of colors visible to humans with normal trichromatic vision. To convert these colors into a mathematical format, the standard uses a matrix. This matrix transforms linear color values into CIE XYZ perceptual color coordinates.

Cie Chart with sRGB gamut by spigget
Cie Chart with sRGB gamut by spigget

This process allows computers to handle color with high mathematical precision.

A critical part of sRGB is the transfer function, often called gamma. This function manages how brightness is mapped to digital values.

SRGB gamma
SRGB gamma

Instead of a simple straight line, sRGB uses a complex, non-linear approach. It begins with a linear section for very dark values near zero. This linear part prevents visual artifacts in dark areas. For the rest of the range, it transitions into a shifted power law. This specific curve is designed to compensate for how displays naturally show light. Without this careful mapping, dark colors would lose detail due to digital rounding errors.

The history of sRGB is tied to the evolution of display technology. In the 1970s, computers sent 8-bit digital data to monitors in a linear fashion. However, video monitors did not produce brightness linearly. They followed a power law with an exponent between 2 and 3. This phenomenon was known as gamma. To fix this, engineers used gamma correction to match the signal to the monitor's behavior.

SRGB gamma
SRGB gamma

In 1993, the ITU BT.709 standard was created for HDTV systems. sRGB was developed shortly after to specifically describe the decoding functions of CRT computer monitors used with Windows.

Key figures and organizations shaped the formal standard. Hewlett-Packard and Microsoft initially proposed sRGB in 1996. The International Electrotechnical Commission later adopted it as an official standard. This version is known as IEC 61966-2-1:1999. In 2003, an amendment was approved to expand the standard's capabilities. This amendment introduced sYCC encoding and a method for using more than 8 bits of data. These updates allowed the standard to remain useful as computer graphics software moved toward calculating in linear light levels.

The technical specifications of sRGB are very precise. The standard defines specific values for the red, green, and blue primaries. For example, the red primary has a chromaticity of x = 0.6400 and y = 0.3300. The white point, known as D65, is set at x = 0.3127 and y = 0.3290.

Cie Chart with sRGB gamut by spigget
Cie Chart with sRGB gamut by spigget

The standard also assumes a specific viewing environment. It expects a dimly lit room with a screen luminance of about 80 cd/m2. This level of detail ensures that engineers can build devices that work together perfectly.

Today, sRGB is everywhere in our digital lives. Most consumer digital cameras and scanners use sRGB as their default working space. It is highly significant because its gamut often matches the capabilities of home inkjet printers.

CIE1931xy gamut comparison
CIE1931xy gamut comparison

When you view a photo on a website, you are likely seeing sRGB in action. Even when software uses different values, the change is often imperceptible to the human eye. It remains the most widely used color space for connecting the world through digital imagery.

616 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (4)
File:srgbnonlinearity.png
srgbnonlinearity.png
File:SRGB gamma.svg
SRGB gamma.svg
File:Cie Chart with sRGB gamut by spigget.png
Cie Chart with sRGB gamut by spigget.png
File:CIE1931xy gamut comparison.svg
CIE1931xy gamut comparison.svg
More to explore

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.