The HTML Color Names Chart is a searchable reference of 148 opaque CSS color names with exact HEX and RGB mappings, not a CMYK color chart. If you searched for a “CMYK color chart with names” because you want to identify a familiar HTML or CSS keyword, confirm the digital value behind it, or copy a dependable token into a stylesheet, this chart handles that lookup. Every result pairs a standardized keyword with a live swatch, a lowercase six-digit HEX value, and a decimal rgb(r, g, b) value. It also keeps valid aliases such as aqua and cyan, or fuchsia and magenta, as separate names even when their sRGB mappings are identical. That makes the reference useful for translating legacy CSS, checking a name you already found, comparing spelling variants, and choosing a named color for a prototype. It does not provide C, M, Y, and K percentages, a printer profile, or a physical ink match. For an actual print-production reference, you still need CMYK data from an appropriate source. Use this chart first when the task is to settle the exact CSS name and screen-color mapping before any print-oriented conversion or design work.

Find and copy a name in three actions
- Search the chart. Open the HTML Color Names Chart. Type part of a CSS color name, an exact six-digit HEX value such as #RRGGBB, or a complete rgb(...) expression in the filter.
- Review the match. Check the standardized keyword, rendered swatch, lowercase HEX value, and decimal RGB mapping. If the input has no exact match, the chart displays a no-match message instead of substituting a nearby color.
- Copy the HEX and reset the view. Click the HEX value to request a clipboard copy. Clear the filter when you are finished to restore all 148 opaque named colors.
The copy action contains only the displayed color token. The chart does not add a CSS declaration, change capitalization, or place brackets, punctuation, or another hidden format around the value.
Match the filter to the value you have
The three accepted input forms use different matching rules. Choosing the right form prevents a broad name search from being confused with an exact code lookup.
| Filter input | Matching rule | Result to expect |
|---|---|---|
| Part of a CSS color name | Case-insensitive fragment matching | Several valid keywords may contain the fragment, so inspect the keyword in each row. |
| Exact #RRGGBB value | A search beginning with # uses exact HEX matching | Each matching standardized keyword mapped to that HEX value appears in a separate row, including aliases. |
| Complete rgb(...) value | The complete expression uses exact matching | A short numeric fragment cannot accidentally match an unrelated channel value. |
| Input with no match | No nearby or fuzzy substitute is selected | A visible no-match message appears instead. |
| Cleared filter | The full reference is restored | All 148 opaque named-color rows return to view. |
Filtering never changes a mapping, merges aliases, creates synonyms, or converts a value into another color space. Results also retain the specification table order, which is ASCII alphabetical by keyword in this implementation.
Read aliases as identifiers, not errors
Two CSS keywords can be valid names for exactly the same sRGB color. The chart preserves both identifiers because existing HTML and CSS may use either spelling. The table below groups shared values for comparison, although the chart displays each keyword as its own row.
| CSS keywords | Shared HEX | Shared RGB |
|---|---|---|
| aqua and cyan | #00ffff | rgb(0, 255, 255) |
| fuchsia and magenta | #ff00ff | rgb(255, 0, 255) |
American and British gray spellings also coexist for several CSS color names. Those records are not accidental duplicates: each spelling is a valid identifier that can be useful when reading or maintaining an existing stylesheet. Read the keyword column carefully when a fragment returns related names, because similar words and shared values have different jobs. The chart preserves the standardized identifiers instead of choosing one spelling and discarding the other.
Understand what the 148-color count includes
The count represents 148 unique opaque keyword keys standardized for CSS Color, not 148 visually distinct colors or 148 evenly spaced swatches. Standardized aliases are included as separate valid names, and all listed mappings resolve in the sRGB color space. The identifiers and values correspond to the W3C CSS Color 4 named colors reference. Because CSS names are historical identifiers, neighboring entries can look deceptively similar, and a name does not reliably communicate relative lightness. The list is therefore not a perceptually even palette, scientific color taxonomy, accessibility rating, or prediction of how a display will reproduce physical pigment.
Two special CSS keywords are deliberately outside the 148-row table. Transparent is an alpha-bearing keyword representing transparent black rather than an opaque named swatch. CurrentColor depends on an element’s computed color property, so it has no fixed standalone HEX mapping. Excluding these values prevents the chart from attaching misleading numbers to colors that do not have one fixed opaque mapping.
Use the chart in a CMYK-aware workflow
A chart that truly maps names to CMYK must supply the actual C, M, Y, and K values for each entry. The HTML Color Names Chart supplies sRGB values instead, so its role in a print-oriented task must be precise:
- Use it to identify a CSS name when a stylesheet, design note, or code review uses a named color and you need its fixed digital mapping.
- Use it to select a source token when a prototype calls for a readable CSS keyword and you want the corresponding HEX and RGB values.
- Do not treat the swatch or name as a print proof. A CSS keyword does not supply an ink recipe, printer profile, or physical color measurement.
This distinction is important when a searcher wants “CMYK with names” but actually needs to settle the HTML or CSS side of the workflow. For a broader explanation of the relationship between print-oriented codes and CSS identifiers, see CMYK color codes and their CSS named-color equivalents. Any CMYK conversion or print matching remains a separate task after the source color has been identified.
Copy the value without extra formatting
The chart runs entirely in the browser, and searches or copied values are not sent to a server. Clicking a HEX value asks the browser to write that token to the clipboard. Success is reported only after the browser resolves the clipboard request. If clipboard permission is denied, the visible keyword, HEX, and RGB text remain available for manual selection and copying.
Each row contains one keyword, one lowercase six-digit HEX value, one decimal RGB value, and a rendered swatch. The copied HEX does not receive hidden formatting or surrounding CSS syntax. That makes it suitable for checking documentation, comparing against an existing declaration, or placing the exact HEX token into a CSS property that accepts a HEX color.
Match the chart to the job in front of you
The reference is most valuable for several focused tasks:
- Translate a legacy stylesheet by identifying the exact mapping behind an existing CSS keyword.
- Verify a name found in documentation or source code.
- Check whether two spellings are standardized aliases of the same sRGB value.
- Choose a readable named-color token for a prototype.
- Copy a stable HEX mapping into CSS without adding a declaration around it.
It is not a palette generator, gradient builder, image-sampling tool, historical web-safe color set, or CMYK conversion table. Those tasks use different color models or require inputs the chart does not collect. Accessibility also needs a separate check: a color name alone cannot predict readability because contrast depends on the foreground and background pair, text size, weight, and applicable guidance. Use the Color Contrast Checker when the task is to evaluate a specific text and background combination rather than identify a named-color value.
If you're weighing options, RGB to HEX to Pantone: A Two-Step Color Workflow covers this in detail.