Free Online HTML Color Codes Tool
HTML color codes are the named colors, hex values and rgb() triples CSS understands; this reference lists all 140+ named colors with one-click copy.
Your data is processed entirely in your browser and never sent to any server.
141 colors
How to Use This Tool
- Scroll the table of CSS named colors, each with a swatch.
- Type in the filter box to narrow by color name.
- Click a row to copy its hex code.
- Use the rgb button to copy the rgb() value instead.
What Is a HTML Color Codes?
The CSS Color Module Level 4 specification defines a set of more than 140 named colors — keywords like tomato, cornflowerblue and rebeccapurple — that map to fixed sRGB values. Each name is just a friendly alias for a specific hex code and rgb() triple, so 'tomato' is exactly #FF6347, or rgb(255, 99, 71).
Named colors are convenient for prototyping and readable in source, but production stylesheets often prefer the explicit hex or rgb() form for consistency with design tokens. This reference shows all three representations side by side with a live swatch, so you can grab whichever notation your project uses.
A filter box narrows the list as you type, which is the fastest way to recall a color when you only remember part of its name. Click a row to copy its hex, or the rgb button to copy the rgb() string. The whole table is static data rendered in your browser — no lookups leave your device.
Frequently Asked Questions
Which colors are listed?
What can I copy?
Can I search for a color?
Published by the WeGotEveryTool team. We build and test every tool in-house and update pages when the underlying spec, formula, or recommendation changes.
Reviewed: May 2026. Disclaimer: this tool is provided as-is for general informational use. For decisions with material consequences (medical, legal, financial, security) verify results against a qualified professional source.
Related Web & HTML
Dial in offset, blur and color sliders to craft a CSS text-shadow with a live preview and copy-ready code.
Paste HTML and see it rendered live in a sandboxed iframe, with the source side by side. Nothing is uploaded.
Pick rows and columns, fill the cells, and copy clean HTML table markup with a live preview as you type.
Create an anchor tag from a URL and link text with target, rel and title attributes, plus a copy button.
Turn one item per line into an ordered or unordered HTML list, with a live preview and copy-ready markup.