CSS Named Colors Table
A quick reference for commonly used CSS named colors with HEX and RGB values.
Common CSS Named Colors
Black
#000000
rgb(0, 0, 0)
Strong text and high contrast fills.
White
#FFFFFF
rgb(255, 255, 255)
Default page, card, and modal surfaces.
DodgerBlue
#1E90FF
rgb(30, 144, 255)
A vivid named blue often used in examples.
RebeccaPurple
#663399
rgb(102, 51, 153)
A well-known CSS named purple.
Tomato
#FF6347
rgb(255, 99, 71)
A warm red-orange accent.
SeaGreen
#2E8B57
rgb(46, 139, 87)
A muted green for examples and accents.
Named Color Values
| Name | HEX | RGB |
|---|---|---|
| SlateGray |
#708090
|
rgb(112, 128, 144) |
| Gold |
#FFD700
|
rgb(255, 215, 0) |
| HotPink |
#FF69B4
|
rgb(255, 105, 180) |
| MediumSeaGreen |
#3CB371
|
rgb(60, 179, 113) |
FAQ
How should I use this CSS named color reference? v
Use it as a starting point, then test the exact foreground, background, and UI state colors in the context where they will appear.
Are the HEX values ready to copy? v
Yes. The listed values are formatted for CSS, design files, and token documentation.
Should I still check contrast? v
Yes. Any color used for text, icons, controls, or status messages should be checked against its actual background.
Related Color Tools
Open the next tool for this color task.
CSS Color Tools - Gradients, Mixers & OKLCH
tool-hubTools for CSS gradients, color mixing, named colors, and modern color formats.
Hex to RGB Converter - Free Online Tool
converterTurn HEX colors into RGB values for CSS and design tools.
RGB to Hex Converter - Free Online Tool
converterConvert RGB or RGBA input into a compact HEX code.
Web-Safe Color Chart
educationalClassic web-safe color chart with modern usage notes.