CSS named colors
All 140 named colours supported by every modern browser, with their HEX, RGB and HSL codes. Click any colour to copy its hex code, or search by name.
Using named colors in CSS
CSS lets you write a colour by name instead of a code. color: tomato; is exactly the same as color: #ff6347; — the browser knows all 140. Named colours are readable and quick for prototyping, though most production design systems standardise on HEX, HSL or OKLCH for tighter control.
The 140 names
The list ranges from the obvious — red, green, blue — to oddly specific entries like papayawhip, gainsboro and rebeccapurple. Several pairs are identical: gray and grey are the same colour, as are aqua and cyan, and fuchsia and magenta.
Want to turn any of these into another format? Open the converter and paste the name — it understands named colours too.