CSS color: named values, hex, and wide-gamut Color 4 tools
Answer: CSS has many options for specifying colors. Hexadecimal notation is a shorthand syntax for RGB. Color 4 brings wide gamut color tools. In supported browsers, there's 50% more colors to pick from.
Named colors and hex notation
Pick one of the 148 named colors in CSS.
Those names are plain English words such as purple, tomato, and goldenrod.
Hexadecimal notation, often shortened to hex, is a shorthand syntax for RGB.
In a six digit sequence, the pairs map to the red, green, and blue channels.
Wide-gamut color in CSS Color 4
Color 4 brings wide gamut color tools, plus manipulation functions and better gradients.
In supported browsers, there's 50% more colors to pick from.
Without those updates, styles would stay in older color ranges and could not match wide gamut images and video.
See also
Claims
- id: C1 claim: Pick one of the 148 named colors in CSS. source: S1 evidence: "one of the 148 named colors in CSS"
- id: C2 claim: Hex notation is a shorthand syntax for RGB. source: S1 evidence: "shorthand syntax for RGB"
- id: C3 claim: Color 4 brings wide gamut color tools and better gradients. source: S2 evidence: "wide gamut color tools and capabilities"
- id: C4 claim: Supported browsers can pick from 50% more colors. source: S2 evidence: "50% more colors to pick from"
Sources
- [S1] Color. web.dev. https://web.dev/learn/css/color . License: CC-BY-4.0. Accessed 2026-11-23.
- [S2] High definition CSS color guide. Chrome Developers. https://developer.chrome.com/docs/css-ui/high-definition-css-color-guide . License: CC-BY-4.0. Accessed 2026-11-23.
License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: web.dev, Color; Chrome Developers, High definition CSS color guide. CC-BY-4.0 (https://web.dev/learn/css/flexbox). Copyright Google LLC. web.dev text is CC BY 4.0. CC-BY-4.0 (https://developers.google.com/site-policies). Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License. Copyright Google LLC. Text was condensed and changed from the originals.
License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: web.dev, Color; Chrome Developers, High definition CSS color guide. CC-BY-4.0 (https://web.dev/learn/css/flexbox). Copyright Google LLC. web.dev text is CC BY 4.0. CC-BY-4.0 (https://developers.google.com/site-policies). Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License. Copyright Google LLC.
Cite this
iinventedlight. 2026. "CSS color: named values, hex, and wide-gamut Color 4 tools." iinventedlight Library, iil:note:dm0r5ekb, version of 2026-11-23. https://iinventedlight.com/library/notes/css-color/. License: CC-BY-4.0.
@misc{iil_note_dm0r5ekb,
author = {{iinventedlight}},
title = {{CSS color: named values, hex, and wide-gamut Color 4 tools}},
howpublished = {iinventedlight Library},
year = {2026},
date = {2026-11-23},
url = {https://iinventedlight.com/library/notes/css-color/},
note = {Permanent ID iil:note:dm0r5ekb. License: CC-BY-4.0.},
}
Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).
Extra files beside this note
These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.
- css-color.schema.json (schema; CC-BY-4.0)
- css-color.table.json (table; CC-BY-4.0)
For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/css-color.md.