HTML Color Names
Complete reference of all 147 HTML color names. Search by name or hex code, click to copy. All standard web-safe colors included.
Contrast Checker
Check WCAG accessibility
Color Converter
HEX, RGB, HSL, CMYK
Color Picker
Pick any color visually
About HTML Color Names
What are HTML Color Names?
HTML color names are 147 predefined color keywords recognized by all web browsers. They provide an easy way to specify colors without memorizing hex codes.
Browser Support
All modern browsers support all 147 HTML color names. They work in CSS, HTML, and JavaScript. Use them freely in any web project.
named colors decoded
The Complete Guide to HTML Color Names
What Are HTML Color Names?
HTML color names are predefined keywords that browsers interpret as specific colors. Instead of writing#FF0000, you can writeredand get the same result. The CSS specification defines 147 named colors, from basic primary colors like red, blue, and green to oddly specific ones like “darkslateblue” and “lightgoldenrodyellow.”
Named colors exist for human readability. In a stylesheet with hundreds of hex codes, color names act as landmarks — primary: coralis immediately understandable in a way#FF7F50 is not. This makes team communication, code reviews, and design system documentation significantly easier.
How to Use the Color Name Reference
- Search by name: type any partial name to filter the list instantly. Useful when you remember part of a name but not the exact spelling.
- Click to copy: every color swatch is clickable. One click copies the hex code to your clipboard, ready to paste into CSS, Figma, or any design tool.
- Browse by category: the full list is organized by hue family, so you can visually scan all blues, all greens, all warm tones, and find the name that matches your vision.
Named Colors vs Hex vs RGB
- Named colors are limited to 147 options. You cannot create custom colors with a name. Best for prototyping, teaching, and quick styles where exact shade is not critical.
- Hex codes give you 16.7 million colors from six characters. They are the standard for production CSS and the most compact way to specify an exact color.
- RGB values are useful when calculating color math programmatically or when working with APIs that expect separate channel values.
- HSL values are the most human-friendly for adjusting lightness and saturation. Use the Color Picker to convert any named color to HSL for fine-tuning.
HTML Color Names FAQ
How many HTML color names are there?
The CSS specification defines 147 named colors. Browsers recognize all of them identically. This reference includes every one, with hex equivalents for each.
Are named colors safe to use in production?
Yes, all 147 named colors are part of the CSS specification and supported by every modern browser. They are not deprecated or experimental.
What is the difference between red and crimson?
Red (#FF0000) is pure red with no blue or green. Crimson (#DC143C) has a touch of blue mixed in, giving it a cooler, deeper tone. Named colors capture these subtle but important differences.