About HTML Color Names

Complete reference of all 147 standard HTML/CSS named colors with visual swatches, hex codes, and RGB values. Filter by 10 color categories (Red, Pink, Orange, Yellow, Purple, Green, Cyan, Blue, Brown, White, Gray), search by name or hex/RGB value, and sort alphabetically or by hex value. Copy any color’s hex or RGB code with one click. Export the full set as a JSON array or as CSS custom properties.

  • 147 colors across 10 categories with visual color swatch for each
  • Search matches against color name, hex code, and RGB string simultaneously
  • JSON export: array of objects with name, hex, rgb, and category fields
  • CSS export: generates a :root block with kebab-case custom properties for every color

Frequently Asked Questions

Why do some colors share the same hex code?
HTML/CSS defines both Aqua and Cyan as #00FFFF, and both Fuchsia and Magenta as #FF00FF. They’re distinct names for identical colors—a quirk of the CSS specification.
Can I use these color names in CSS instead of hex codes?
Yes. All 140 named colors are valid CSS color values. Write color: tomato or background: steelblue and every modern browser will render them correctly. Named colors are easier to remember but hex gives you access to the full 16.7 million color range.

More Reference Tools

All Reference tools