Making Software: What is a color space?

https://www.makingsoftware.com/chapters/color-spaces-models-and-gamuts
webpage banner

Making Software: What is a color space?

This article offers a comprehensive explanation of digital color, covering color perception, various color spaces (CIE XYZ, sRGB, Display P3), color models (RGB, HSL, HSV, oklab, oklch), gamuts, gamma correction, and bit depth. It details additive and subtractive color mixing, and the complexities of color management, emphasizing the non-linear nature of human color perception and the challenges of accurate color representation across different devices and applications.

Note

color derives it's confusion from the fact that it's a complicated conversion of tangible energy and waveforms to something we are perceiving (and all differently, whether or not you are colorblind...)

the visualizations of this article continue to help me have a lot of respect for oklab's color space. what a beast of color.

Published

2025

Summary

This article offers a comprehensive explanation of digital color, covering color perception, various color spaces (CIE XYZ, sRGB, Display P3), color models (RGB, HSL, HSV, oklab, oklch), gamuts, gamma correction, and bit depth. It details additive and subtractive color mixing, and the complexities of color management, emphasizing the non-linear nature of human color perception and the challenges of accurate color representation across different devices and applications.

Image

Image for Making Software: What is a color space?