Color Names
Browse the complete reference of 141 CSS named colors, grouped by color family with hex, RGB, and HSL values.
Modern browsers support 141 CSS named colors, listed below by family. Use them in stylesheets and inline CSS by keyword, or copy the matching hex, RGB, and HSL values from each row.
Game & Chat Color Codes
Quick references for in-game and chat formatting colors.
Black CSS named colors
| Color | Name | Hex | RGB | HSL |
|---|---|---|---|---|
Blue CSS named colors
| Color | Name | Hex | RGB | HSL |
|---|---|---|---|---|
Brown CSS named colors
| Color | Name | Hex | RGB | HSL |
|---|---|---|---|---|
Cyan CSS named colors
| Color | Name | Hex | RGB | HSL |
|---|---|---|---|---|
Gray CSS named colors
| Color | Name | Hex | RGB | HSL |
|---|---|---|---|---|
Green CSS named colors
| Color | Name | Hex | RGB | HSL |
|---|---|---|---|---|
Orange CSS named colors
| Color | Name | Hex | RGB | HSL |
|---|---|---|---|---|
Pink CSS named colors
| Color | Name | Hex | RGB | HSL |
|---|---|---|---|---|
Purple CSS named colors
| Color | Name | Hex | RGB | HSL |
|---|---|---|---|---|
Red CSS named colors
| Color | Name | Hex | RGB | HSL |
|---|---|---|---|---|
White CSS named colors
| Color | Name | Hex | RGB | HSL |
|---|---|---|---|---|
Yellow CSS named colors
| Color | Name | Hex | RGB | HSL |
|---|---|---|---|---|
What are CSS named colors?
CSS named colors are keywords defined in the CSS Color specification—values like `steelblue`, `tomato`, and `rebeccapurple` that browsers resolve to precise sRGB coordinates. You can use them anywhere a hex or functional color is valid: `color: coral`, `background-color: midnightblue`, `border-color: gold`.
The current Level 4 list contains 142 names. They cover a useful subset of the spectrum but not every brand shade. When a design handoff specifies an exact hex value, prefer that over the nearest keyword.
Historically these were called "HTML color names" because early authors set them through inline styles. The authoritative list lives in CSS today, not the HTML specification itself.
How to read the tables
Each row shows the keyword alongside hex (#RRGGBB), RGB (0–255 per channel), and HSL (hue in degrees, saturation and lightness in percent). Click a hex value to copy it.
Colors are grouped by family—reds, blues, grays, and so on—to match how designers discuss palettes. Search filters categories and names without reloading the page.
For game and chat formatting colors used outside CSS, see the Minecraft, Bukkit, and Roblox references linked above the tables.