Browse all 148 CSS named colors — search and click any color to copy its hex.
Our free online CSS Color Names Reference puts all 148 official CSS named colors at your fingertips. Instead of memorizing hex codes or digging through documentation, you browse a visual gallery, search by name, and click any color to copy its hex value instantly. The CSS Color Names Reference turns color selection from a lookup chore into a quick visual decision — free, with no signup and nothing to install.
Named colors are one of CSS’s most underused conveniences. Writing color: rebeccapurple or background: papayawhip is more readable than a bare hex code, and during prototyping it is dramatically faster than opening a color picker for every shade. But few developers can recall more than a dozen names from memory — which is exactly the gap the CSS Color Names Reference fills: every name, shown as its actual color, searchable in seconds. There is a readability argument too. Six months from now, border: 1px solid lightsteelblue tells a future maintainer far more than #B0C4DE at a glance — the name carries intent where the hex carries only data. Teams that prototype with the CSS Color Names Reference often keep the names in non-critical styles precisely because code review becomes faster when colors read like words.
Designers use it to discover shades they did not know existed (“blanchedalmond” is a real color, and it is lovely); developers use it to grab hex codes without leaving the browser; students use it to learn the palette. It lives in our Color tools collection alongside the Color Converter. Below: the full guide, features, use cases, tips, and FAQs.
How to Use the CSS Color Names Reference
Finding and copying the perfect named color takes seconds. Here is the workflow.
- Open the CSS Color Names Reference page. All 148 named colors load immediately as a browsable visual gallery.
- Scroll through the gallery to explore. Each swatch shows the actual color alongside its name, so you can judge shades visually rather than guessing from names alone.
- Use the search box to jump to a color. Type part of a name — “blue”, “coral”, “slate” — and the CSS Color Names Reference filters the gallery instantly.
- Click any swatch to select it. The color’s details (name and hex value) are highlighted for easy copying.
- Copy the hex code with one click. The CSS Color Names Reference copies the hex value to your clipboard, ready to paste into your stylesheet.
- Alternatively, use the name directly in CSS. Any of the 148 names works as a valid CSS color keyword — paste
color: darkcyan;and it just works in every modern browser. - Compare similar shades side by side. Searching “gray” reveals the whole family (dimgray, darkgray, lightgray, gainsboro), making it easy to pick the right depth.
- Pair with conversion tools. Need the same color as RGB or HSL? Send the hex to the Color Converter for instant translation between formats.
- Build a quick palette. Search a few families (blues, warm neutrals, greens), click-copy each hex, and assemble a starter palette in a scratch file before committing to a design.
- Verify in context. Paste chosen names into your actual layout — colors interact with surrounding shades, so the CSS Color Names Reference gets you candidates and your page gives the verdict.
- Explore the oddballs deliberately. Scroll the full list once — names like blanchedalmond, darksalmon, and mediumaquamarine stick in memory precisely because they are unusual, expanding your working palette permanently.
- Copy once, reuse via variables. Paste copied hex values into CSS custom properties at the top of your stylesheet so the whole project shares one palette definition.
Key Features of Our CSS Color Names Reference
The CSS Color Names Reference is a focused lookup tool done properly. Here is what it offers.
- All 148 official names: The complete CSS Color Module Level 4 keyword set — from aliceblue to yellowgreen, including modern additions like rebeccapurple. If it is a valid CSS color keyword, the CSS Color Names Reference lists it.
- True-color visual swatches: Every name renders as its actual color. Judging “mediumseagreen” from text is guesswork; seeing the swatch makes the choice instant and confident.
- Instant live search: Type a few letters and the gallery filters in real time. Searching “purple” surfaces every purple-family shade without scrolling through all 148.
- One-click hex copy: Click a color and its hex code lands on your clipboard — no manual selection, no transcription errors, no “was that #8A2BE2 or #8A2EB2?” mistakes.
- Use names directly in CSS: Every entry doubles as documentation: the name itself is valid CSS. The reference reminds you that
background: lemonchiffonis perfectly legitimate code. - Shade families at a glance: Related names cluster naturally in search results, so comparing lightsteelblue vs. steelblue vs. darkslateblue takes seconds.
- Zero friction: No signup, no download, no ads blocking the swatches. The CSS Color Names Reference is a page you can keep open in a tab all day while you style.
- Plays well with the color toolkit: Move seamlessly to the Gradient Generator for backgrounds or the Contrast Checker to verify text legibility in your chosen shade.
- Prototyping-speed workflow: No picker dialogs, no eyedropper round-trips: see a shade, click it, paste the hex. The CSS Color Names Reference compresses color selection into seconds, which is exactly the speed prototyping demands.
- Self-documenting choices: Because the name is valid CSS, your choice documents itself in the codebase —
darkseagreenneeds no comment explaining what it looks like.
CSS Color Names Reference Use Cases
Named colors show up in real stylesheets more often than purists admit. These are the moments the reference earns its bookmark.
Rapid prototyping
When mocking up a layout, background: lightcoral is infinitely faster than opening a picker, choosing a hex, and pasting it. Developers keep the CSS Color Names Reference open and prototype entire pages with readable color keywords before refining.
Teaching and learning CSS
Instructors love named colors because students can read color: midnightblue and immediately picture the result. The visual gallery turns the abstract list of 148 names into an explorable palette for beginners.
Design system discovery
Designers hunting for an off-white that is not quite white, or a muted accent with character, browse the reference to discover shades like floralwhite, mintcream, and oldlace — distinctive names that also document intent in the code.
Debugging and placeholder styling
Need to see exactly which div is which while debugging layout? Slap contrasting named colors (tomato, deepskyblue, limegreen) on elements in seconds, then remove them. The reference makes the palette instant.
Data-visualization palettes
Chart and dashboard builders need sets of distinguishable, named-at-a-glance colors for series and categories. Browsing the reference surfaces families (the blues, the greens, the warm accents) that stay visually distinct while remaining readable in code and legends.
Slide decks and documents
Presentations, reports, and documentation need coordinated accent colors too. Non-developers use the CSS Color Names Reference to pick hex values for slide themes and document styles — the visual gallery needs no CSS knowledge to browse.
Why Use Our Free CSS Color Names Reference?
Three reasons keep people coming back to our free CSS Color Names Reference: privacy, speed, and simplicity. Privacy, because the tool runs entirely client-side — your inputs are processed by JavaScript in your own browser and are never uploaded to a server, stored in a database, or shared with third parties. Speed, because local processing means instant results with no loading spinners or server queues. Simplicity, because the CSS Color Names Reference focuses on doing its job well, with a clean layout that needs no tutorial.
There is no signup wall and no software to install, so the barrier between “I need this” and “done” is a single click. It works across devices and browsers, handles repeated use without throttling, and costs nothing — the full functionality is available to every visitor, every time. Whether you use the CSS Color Names Reference once a year or ten times a day, the experience stays the same: open, use, done.
The CSS Color Names Reference lives in our Color tools section, part of the wider library of all free online tools. Complementary utilities like Color Converter, Gradient Generator and Contrast Checker follow the same free-and-private philosophy. For background reading on the topic, see Wikipedia.
Tips for Best Results
Get more from the palette with these practical habits.
- Search by family, not exact name: Unsure whether it is “darkgrey” or “darkslategray”? Search “gray” and compare the whole family visually — faster than guessing spellings.
- Remember US spellings: CSS uses “gray” (darkgray, lightgray) as the official keywords, though most browsers also accept “grey” variants. The CSS Color Names Reference shows the canonical names to use.
- Check contrast before shipping: A beautiful named color can still fail accessibility. Run your text/background pair through the Contrast Checker before calling it done.
- Use names for readability, hex for precision: Names shine in prototypes and teaching; final production palettes often pin exact hex values. Copy the hex from the reference when precision matters.
- Discover the oddballs: Some names exist for fun history — rebeccapurple honors Eric Meyer’s daughter, papayawhip is exactly what it sounds like. Browsing the full list occasionally surfaces a perfect brand accent.
- Bookmark it next to your editor: The developers who benefit most keep the CSS Color Names Reference one Ctrl+Tab away while writing styles — lookup latency drops to zero.
- Pair names with CSS variables: Define
--accent: steelblueonce, then reference the variable everywhere. You keep the readability of the name with the maintainability of a token. - Test names in dark mode too: A named color that sings on white may fail on dark surfaces. Run finalists through the Dark Mode Color Tester if your product ships a dark theme.
- Mind color blindness: Some named-color pairs (red/green especially) are indistinguishable to color-blind users. Never encode meaning in color alone — pair it with labels or icons.
- Keep a personal favorites list: As you discover shades you love, note their names in a scratch file. Your future projects will thank you when “that perfect muted teal” is one search away.
CSS Color Names Reference FAQs
How many CSS named colors are there?
148. The CSS Color Names Reference includes the complete official set defined in the CSS Color Module — every keyword from aliceblue to yellowgreen, including rebeccapurple. The set has been stable for years, so anything you learn today stays valid.
Is the CSS Color Names Reference free?
Yes — free, no signup, no limits. Browse, search, and copy hex codes as often as you like.
Can I really use these names directly in my CSS?
Absolutely. Every name in the reference is a valid CSS color keyword supported by all modern browsers. color: tomato; works exactly like color: #FF6347;. That universality is the point of the standard: unlike a custom hex that only lives in your file, tomato means the same thing in every stylesheet on earth.
Why do some colors have strange names?
Many names come from the original X11 color list (1980s Unix workstations) — hence papayawhip, blanchedalmond, and burlywood. Rebeccapurple was added in 2014 to honor Eric Meyer’s daughter Rebecca. This dual nature — human-readable and machine-precise — is what makes the reference worth bookmarking.
Are named colors the same in every browser?
Yes — the 148 keywords and their exact RGB values are standardized, so midnightblue renders identically in Chrome, Firefox, Safari, and Edge.
Should I use names or hex codes in production?
Both are valid. Names are more readable (“crimson” vs “#DC143C”); hex codes are more precise for brand palettes. The reference gives you both, so choose per situation. For distinctive brand identities, teams usually graduate from names to custom hex values — and the reference’s click-to-copy makes that transition seamless.
How do I copy a color’s hex code?
Click the swatch in the CSS Color Names Reference — the hex value is copied to your clipboard instantly, ready to paste into your stylesheet or design tool.
Does it work on mobile?
Yes. The gallery and search are fully responsive, so you can look up colors from a phone or tablet just as easily as on desktop. The click-to-copy works with touch too, so grabbing a hex on the go is painless.
That covers everything the free online cSS Color Names Reference can do for you — from the basics to the pro tips above. The next step is simple: scroll up, try it with your own data, and see how quickly it handles a task that used to eat up your time. And when you are done, do not stop here: the directory of all free online tools holds dozens more utilities built to the same standard — free forever, private by design, and ready in your browser whenever you need them.