Color space
A color space is a defined coordinate system for representing colors using specified components, dimensions, or numerical values.
CSS in Depth, Second Edition
A color space is a coordinate system that represents colors with defined component dimensions and ranges.
- How it is used
- Guides CSS color selection and adjustment when implementing a design mockup.
- How deep it goes
- Defines color space against gamut and compares RGB and HSL arrangements, without deriving their coordinate mathematics.
- Examples
- Uses RGB and HSL diagrams, hexadecimal and rgb() values, and a gradient-backed button.
- What you can do after
- Apply it via CSS color notations to choose editable colors and account for browser support.
Read how CSS in Depth, Second Edition explains color space →
Everyday Data Visualization
A model for representing colors as coordinates or values in a defined set of color dimensions.
- How it is used
- Supports selecting and tuning visualization colors, especially palettes matched to data.
- How deep it goes
- Defines three-dimensional color coordinates and works through RGB and CIELAB axes without pursuing advanced color science mathematics.
- Examples
- Uses RGB cyan and purple triplets, CIELAB slices at L*=75 and L*=25, and sequential gradient comparisons.
- What you can do after
- Apply it via Figma by switching color spaces to select and tweak visualization colors.
Related concepts
- LAB color spaceincludes · The CIELAB color space is a device-independent, approximately perceptually uniform model representing color by lightness and opponent-color coordinates.
- RGBincludes · RGB is an additive color model that represents colors through separate red, green, and blue component values or intensities.
- color scaleused by · A color scale is a mapping from data values or categories to colors, often arranged as a continuous gradient or discrete set for visual representation.
- sRGBincludes · sRGB is a standardized RGB color space with defined primaries, white point, and transfer characteristics for consistent digital color representation.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

