Skip to main content
Ganesh Joshi
Back to Cheatsheets

CSS color names

Updated 2026-02-14

W3C CSS named colors with hex values. Use in CSS or Tailwind arbitrary values.

Common named colors

black #000000, white #ffffff, red #ff0000, lime #00ff00, blue #0000ff, yellow #ffff00, cyan #00ffff, magenta #ff00ff (fuchsia), gray #808080, silver #c0c0c0, maroon #800000, olive #808000, green #008000, purple #800080, teal #008080, navy #000080.

More W3C names

aliceblue, antiquewhite, aqua, aquamarine, azure, beige, bisque, coral, crimson, gold, indigo, ivory, khaki, lavender, linen, mintcream, navy, orchid, salmon, seagreen, skyblue, tan, thistle, tomato, wheat, and 100+ others. See W3C CSS Color Module Level 4. Use in CSS as color: rebeccapurple or in Tailwind as arbitrary value.

CSS color names | Cheatsheet | Ganesh Joshi