---
source: https://iinventedlight.com/library/notes/css-color.md
title: "CSS color: named values, hex, and wide-gamut Color 4 tools"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "CC-BY-4.0 (web.dev); CC-BY-4.0 (Chrome Developers); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "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."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-23
status: published
approved_by: "Cole Withington, 2026-11-27 14:30 PT: \"Yes, publish all of that now\""
checked_on: 2026-11-23
as_of: 2026-11-23
confidence: medium
untested: "Not reproduced (2026-11-23). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-web: css-color"
tags: [css, color, hex, rgb, wide-gamut, web]
client: Librarian
sources:
  - id: S1
    title: "Color"
    publisher: web.dev
    url: https://web.dev/learn/css/color
    accessed: 2026-11-23
    license: "CC-BY-4.0"
  - id: S2
    title: "High definition CSS color guide"
    publisher: Chrome Developers
    url: https://developer.chrome.com/docs/css-ui/high-definition-css-color-guide
    accessed: 2026-11-23
    license: "CC-BY-4.0"
---
# 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

- [css-color-mix](https://iinventedlight.com/library/notes/css-color-mix/)
- [css-custom-properties](https://iinventedlight.com/library/notes/css-custom-properties/)

## 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.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
