Search 1,097 Named Colors
Find colors by name, HEX, RGB, or HSL. Filter by collection and color family, then sort by hue, brightness, or name. Switch between grid and list views to explore your way.
Explore 1,097 named colors: all 148 official CSS keywords plus 949 community-named XKCD colors. Search, compare, and copy CSS-ready values.
Explore all 148 standard CSS keyword spellings alongside 949 extra colors from the XKCD color survey. Extended names are descriptive labels, not CSS keywords; copy their HEX, RGB or HSL values for valid CSS. Everything works in your browser.
Showing all colors
No matching colors
Try a different search or reset the filters.
Interactive design workbench
Color matching, harmonious combinations, shade scales, gradients and accessible design examples.
Pick or enter any HEX color to find the closest CSS named colors. Matches are ranked by perceptual OKLab distance.
Generate color-wheel combinations from the selected named color. Click any shade to copy its HEX code.
Generate 11 usable variations, from darker to lighter, using an OKLab-based mix for smoother visual steps.
Find named colors that meet your selected contrast target against the current background.
Combine any two colors into an editable linear gradient and export production-ready CSS.
Preview the selected color in a realistic UI component, with automatically chosen high-contrast text.
Readable typography, expressive colors and a consistent visual system.
Built-in color keywords such as tomato, rebeccapurple and lightseagreen can be used directly in CSS. The official CSS collection contains all 148 keyword spellings; the extended collection adds 949 survey names that are not native CSS keywords.
Write color: rebeccapurple; for official keywords, or color: #ACC2D9; for extended names. Click any swatch to inspect its hexadecimal, RGB and HSL representations, then copy the format you need.
Use the contrast checker for foreground and background combinations. WCAG AA requires at least 4.5:1 for normal text and 3:1 for large text; AAA normal text needs 7:1.
Reference: 148 official CSS named-color spellings (including aliases) and 949 community names from the XKCD color-name survey (distributed in Matplotlib’s XKCD color list). Only official CSS keywords are valid directly as CSS color names; the 949 additional names must be used via HEX, RGB or HSL. Transparent, currentColor and system keywords are not swatches in this library.
Searching for the perfect website color? Curious about the HEX code for CornflowerBlue? Or wondering whether RebeccaPurple would look better next to a warm peach?
Welcome to the UtilityGlen HTML / CSS Named Color Library — a searchable visual atlas of 1,097 named colors. Browse 148 standard CSS color keywords and 949 additional community-named XKCD colors. Discover new shades, inspect color codes, create palettes, check contrast, and bring your next design to life.
Explore · Compare · Create
One colorful library
Including spelling aliases
Descriptive community names
HEX, RGB and HSL
A complete set of color discovery, comparison, and design tools — useful for frontend developers, graphic designers, students, content creators, and anyone who loves color.
Find colors by name, HEX, RGB, or HSL. Filter by collection and color family, then sort by hue, brightness, or name. Switch between grid and list views to explore your way.
Click a swatch to inspect its exact values and copy the format you need. Use standard CSS keywords where supported or copy numeric color codes for expanded survey colors.
Compare text and background colors, view contrast ratios, and find named-color pairings that meet selected WCAG AA or AAA thresholds for readable interface designs.
Experiment with complementary, analogous, triadic, split-complementary, square, and monochromatic combinations. Generate tints and shades from a selected color.
Have a HEX code but no idea what to call it? Enter the color into the matcher to find six visually similar named colors using OKLab color-distance calculations.
Save favorites, generate gradients, preview a styled UI card, and export matching colors as CSS custom properties, JSON, or CSV for use in design and development workflows.
CSS includes 148 standard named color keywords, counting alternate spellings such as Gray and Grey. They can be used directly as values in CSS properties, without typing hexadecimal or RGB numbers.
Tomato
Gold
Teal
RebeccaPurple
Both are valid CSS declarations.
Sometimes "blue" simply isn't descriptive enough. The additional XKCD color collection introduces hundreds of distinctive, memorable color names from a community color-naming survey.
Pastel Orange
Royal Purple
Chartreuse
Strong Pink
Extended survey names are descriptive labels, not official CSS keywords. Use their HEX, RGB, or HSL codes in CSS.
The same color can be expressed in different formats. Knowing when to use each format makes writing CSS easier and helps you build consistent palettes.
A named CSS color with three equivalent numeric representations.
#663399
A hexadecimal code that stores red, green, and blue channel values. Compact, common, and ideal for design handoffs, CSS variables, and brand style guides.
rgb(102, 51, 153)
Uses red, green, and blue channel values. Particularly useful when working with numeric color channels or the modern CSS rgb() syntax.
hsl(270, 50%, 40%)
Describes hue, saturation, and lightness. Helpful for experimenting with related shades and adjusting a color's intensity or brightness.
A handy reference chart of recognizable CSS colors and their HEX values.
| Color | CSS Keyword | HEX Value | Common Design Use |
|---|---|---|---|
| Alice Blue | aliceblue | #F0F8FF | Soft interface backgrounds |
| Cornflower Blue | cornflowerblue | #6495ED | Buttons and accents |
| Rebecca Purple | rebeccapurple | #663399 | Brand identity and headings |
| Coral | coral | #FF7F50 | Warm decorative highlights |
| Sea Green | seagreen | #2E8B57 | Nature-inspired interfaces |
| Gold | gold | #FFD700 | Badges and celebration accents |
| Hot Pink | hotpink | #FF69B4 | Vibrant creative visuals |
| Slate Gray | slategray | #708090 | Neutral UI details |
Color uses are creative suggestions, not fixed rules. Always test text and background contrast before using colors for important content.
No complicated setup and no color-theory degree required. Start with one color and explore wherever inspiration leads.
Find a color using its name or code, select a collection, or browse swatches by family and hue.
Select a color to view its HEX, RGB, HSL, brightness, and contrast information.
Generate color harmonies, examine shades, and experiment with gradients and interface previews.
Review contrast, save favorite colors, then export the matching collection for your project.
Example CSS custom properties
:root {
--brand-dark: #172554;
--brand-main: #2563EB;
--brand-light: #38BDF8;
--page-tint: #E0F2FE;
}
.button {
background: var(--brand-main);
color: white;
}
Tip: For a real interface, test every important text/background combination rather than assuming a coordinated palette will automatically be accessible.
Color contrast describes the luminance difference between a foreground and background. A beautiful color combination can still make text difficult to read. That's why accessible web design requires more than choosing colors that simply look good together.
Use the library's color inspector and accessible pairing finder to evaluate candidate text colors. The tool helps you compare selected contrast ratios against common WCAG targets.
Light text against a dark background creates clear visual separation.
Similar lightness values can reduce text readability.
WCAG contrast is one part of accessibility. Also consider focus indicators, text size, interaction states, and avoiding color-only communication.
From a small personal webpage to a complete visual identity, color choices influence how a project feels and how comfortably people can use it.
Select accessible button colors, backgrounds, navigation accents, and interactive states.
Explore memorable brand palettes for illustrations, posters, presentations, and social graphics.
Distinguish data categories with thoughtful color choices supported by labels and patterns.
Learn CSS syntax, understand color formats, and explore relationships across the color wheel.
Understanding a few basic color relationships can make palette creation more intentional and enjoyable.
Colors positioned opposite each other on the color wheel create a vibrant relationship. Useful for energetic accents and visual emphasis when applied with care.
Neighboring hues tend to create a coordinated, flowing appearance. Try them for cohesive backgrounds, illustrations, and subtle visual themes.
Three hues spaced around the color wheel offer variety and energy. Use one as the dominant color and reserve the others for accents.
Variations built around one hue create visual consistency. Experiment with different lightness and saturation values for a refined single-hue design.
These are illustrative color combinations. The tool's harmony studio calculates palettes from whichever color you have selected.
A named color can be assigned directly to CSS properties such as color, background-color, and border-color.
For example, color: tomato; sets the text color using an official CSS keyword. No conversion is necessary.
For the extended XKCD collection, use the corresponding HEX, RGB, or HSL value instead of the descriptive survey name.
You can also define CSS custom properties for reusable design tokens. This helps keep button colors, headings, backgrounds, and other components consistent.
/* Official CSS color names */
.hero-title {
color: rebeccapurple;
}
.action-button {
background-color: royalblue;
color: white;
}
.soft-section {
background-color: aliceblue;
border: 1px solid lightsteelblue;
}
/* Extended named color example:
XKCD Pastel Orange */
.accent {
background-color: #FF964F;
}
/* Reusable color tokens */
:root {
--primary: #663399;
--highlight: gold;
}
.card-title {
color: var(--primary);
}
Clear explanations about CSS color names, color codes, extended color collections, and the tools available in this library.
red, navy, coral, mediumseagreen, and rebeccapurple. These keywords can be written directly into CSS declarations, such as background-color: coral;.gray and grey are different keyword spellings that produce the same color. The special transparent keyword and contextual currentColor keyword are not part of this 148-color named list.background-color: #FF964F; is valid CSS.#663399. RGB specifies red, green, and blue components such as rgb(102, 51, 153). HSL specifies hue, saturation, and lightness such as hsl(270, 50%, 40%). They can represent the same color in different ways, depending on your design workflow.linear-gradient() CSS declaration for your webpage or interface.gray and grey both correspond to #808080. Related pairs such as darkgray and darkgrey are also equivalent. These aliases account for some of the difference between 148 standard keyword spellings and 139 unique color values.Explore 1,097 named color entries, compare HEX and RGB values, discover creative palettes, test contrast, and build something brilliant — one color at a time.
Explore All Named ColorsFree to use · No registration required · Explore in your browser
Made for curious minds, creative people, and better web design.
Handy web tools for daily use. Everything runs right in your browser—no sign-ups, no cloud uploads, and your data stays entirely on your device.