Find the closest CSS color name for any HEX or RGB color value
Color naming converts a raw hex, RGB, or HSL color value into a human-readable name — "Crimson Red", "Sky Blue", "Forest Green". While CSS defines 140 named colors, the full visible spectrum contains millions of distinct colors, each of which can be described approximately by its nearest named match. Color naming tools use a database of thousands of named colors and find the closest match by calculating color distance in perceptual color space (typically CIELAB/Delta-E, which better matches how humans perceive color differences than simple RGB distance).
Color naming is useful in design work (communicating a color choice to a client or stakeholder who doesn't read hex codes), in accessibility (describing colors to non-visual users), in marketing (paint manufacturers like Pantone and Benjamin Moore base their business on evocative color names), and in data journalism (labeling chart colors in a way audiences can reference). It also reveals how color naming varies by culture — not all cultures have separate words for blue and green.
The most accurate method uses CIELAB color space and Delta-E distance, which models perceptual color difference. The simpler (but less accurate) method calculates Euclidean distance in RGB space: √((R₁-R₂)² + (G₁-G₂)² + (B₁-B₂)²). CIELAB distance better matches human perception — two colors that look very different may have a small RGB distance, and vice versa.
CSS Color Level 4 defines 148 named colors, ranging from "aliceblue" (#F0F8FF) to "yellowgreen" (#9ACD32). These include the original 16 VGA colors, the X11/SVG color set, and additions in later CSS specifications. "Rebeccapurple" (#663399) was added in 2014 in memory of Rebecca Meyer, daughter of CSS developer Eric Meyer.
The linguistic relativity of color is well-studied. Some languages (like Russian) have separate basic terms for dark blue (siniy) and light blue (goluboy); English uses just "blue". Some languages have one term for blue and green (e.g., Japanese "ao" historically covered both). The Pirahã language reportedly has no distinct color words. Culture, geography, and available natural dyes shape color vocabulary.
Pantone is a proprietary color standardisation system used in printing and manufacturing. Each Pantone color has a number (e.g., Pantone 485 C for a vivid red). It ensures consistent reproduction across different printing processes. The "Pantone Color of the Year" is an annual design trend announcement. Pantone colors can be approximately converted to CMYK, RGB, and hex but the match is not exact.
Color Palette Generator · CSS Gradient Generator · Contrast Checker · Color Mixer