Free Color Name Finder Online

The color name finder identifies the closest CSS named color for any HEX or RGB value you enter. This color code name finder instantly returns the nearest match from the full list of 140 CSS and HTML color names, along with its exact HEX, RGB, and HSL values. Type or paste a HEX code, browse the complete CSS color names list, or search by name. One-click copy for every format.

Your color#6495ED
Closest CSS match#6495ED
cornflowerblue100.0% matchExact CSS name

Top 5 closest CSS colors, click any to select

Your color properties

Hue familyBlue
LightnessLight
SaturationVivid

Browse 141 CSS named colors

How to use the color name finder tool

  1. Enter a 6-digit HEX code (with or without #) in the input field.
  2. The hex color name finder instantly shows the nearest CSS named color with its exact HEX value.
  3. Compare the match against your original color in the side-by-side preview.
  4. Copy the CSS color name, HEX, RGB, or HSL value for use in your stylesheet.
  5. Browse all 140 CSS named colors in the grid or search by name.

Find color name from image: step-by-step workflow

Finding a color name from an image takes two steps. The color name finder accepts HEX input, so you first need to identify the HEX value of the color in your image. The most reliable way to do this is with the image color picker, which extracts the dominant colors from any uploaded photo or illustration and returns their exact HEX codes.

Once you have the HEX from your image, paste it into this color name finder. The tool identifies the closest CSS color name using Delta-E perceptual distance so the result reflects how the color actually looks, not just how close the raw RGB numbers are. This two-tool workflow is the standard approach for an online color name finder from image: extract the HEX from the photo, then look up the name from the code.

HEX color name finder: how matching works

The hex color name finder does not simply find the nearest HEX number. Raw HEX comparison treats #FF0001 and #FE0000 as equally close to #FF0000, but perceptually some channels contribute more to how a color looks than others. To get accurate results, the tool converts every color to the CIE Lab color space before comparison. CIE Lab is designed so that equal numerical distances correspond to equal perceived differences across any part of the color spectrum.

From there, the tool computes the Delta-E distance between your input and all 140 CSS named colors. Delta-E is the standard perceptual color difference formula used in color science and quality control. The named color with the smallest Delta-E value is returned as the match. A Delta-E below 2 is considered imperceptible to most people; values above 5 represent a visible difference. The side-by-side preview lets you judge whether the match is close enough for your purpose.

Find color name from RGB value

To find a color name from RGB, you need to convert the RGB value to HEX first, then paste it into this tool. The color format converter handles this instantly: enter your rgb() value and copy the HEX output. For example, rgb(100, 149, 237) converts to #6495ED, which this tool maps to cornflowerblue. The format converter also accepts rgba(), hsl(), and hsla() inputs if your value is in one of those formats.

The rgb color name finder approach is useful when working with design tokens stored as RGB triplets, or when sampling colors from CSS computed values in browser DevTools. Copy the rgb() value from DevTools, convert it to HEX, and paste it here to get the CSS name instantly.

CSS color names list and browser support

The CSS color names list recognized by all modern browsers includes 140 colors derived from the X11 and SVG color specifications. All 140 names work in Chrome, Firefox, Safari, Edge, and all other WHATWG-compliant browsers without flags or experimental settings. Every named color is equivalent to a specific HEX value: dodgerblue is #1E90FF, slategray is #708090, and rebeccapurple is #663399.

HTML color names are a subset of the full CSS list. The original 16 HTML 4 colors (aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, yellow) are all included in the CSS named color set. Since CSS3, the full 140-color set has been the standard, and HTML named colors in CSS are treated identically whether used in HTML attributes or CSS properties. A notable detail: both grey and gray spellings are valid for all relevant entries (darkgrey / darkgray, lightgrey / lightgray, etc.).

CSS named colors vs HEX: when to use each

CSS named colors are most useful in three situations. First, for rapid prototyping where exact brand colors are not yet decided and a rough approximation is enough — tomato instead of a custom error red. Second, for educational code examples and documentation where readability matters more than precision. Third, when a named color happens to exactly match a design requirement and the name improves code legibility.

For production projects with specific brand colors, HEX, HSL, or CSS custom properties are the better choice. No CSS named color will match most brand colors precisely, and using an approximation in production creates inconsistency. Use this exact color name finder to identify which named color is closest to your brand HEX, then decide whether the approximation is acceptable. For building a full brand color system from your exact HEX, the tints and shades generator produces a complete 11-step scale.

Color name finder vs Pantone color matching

This tool identifies CSS named colors, which are a set of 140 standard web color names defined by the CSS specification. A Pantone color name finder works differently: Pantone is a proprietary color system used in print, packaging, and physical manufacturing with thousands of individually numbered colors matched to physical ink formulas. Pantone colors are not part of the CSS specification and require a licensed Pantone matching tool for accurate identification.

For web and UI design, CSS named colors and HEX codes are the relevant standards. If you need to match a physical Pantone swatch to a web color, the typical workflow is to get the Pantone color's RGB values from a reference guide, convert them to HEX using the color format converter, and then check the closest CSS name with this tool. The result is an approximation since Pantone inks and screen RGB rendering are fundamentally different color reproduction systems.

Notable CSS named colors worth knowing

Some CSS named colors appear frequently in production code and tutorials because they map to useful values:

  • transparent: fully transparent black, equivalent to rgba(0,0,0,0). Used in transitions and overlay resets.
  • currentColor: inherits the element's computed color value. Useful for SVG icons that match surrounding text automatically.
  • rebeccapurple (#663399): added to CSS4 in honor of Eric Meyer's daughter. Frequently appears in CSS tutorials.
  • tomato (#FF6347): a readable name for a warm red, often used in prototypes for error and alert states.
  • cornflowerblue (#6495ED): a mid-tone blue widely used in code examples and default styling.
  • gainsboro (#DCDCDC): a light neutral gray useful for borders and dividers without reaching for a HEX value.

Using color names in accessibility and design reviews

CSS named colors improve communication in design reviews because they give human-readable labels to color values. Describing a contrast issue as "white text on navy" is faster to understand than "#FFFFFF on #000080" in a written comment. Once you have a named color from this tool, take its HEX and drop it into the WCAG contrast checker to verify its ratio against a background before using it in production. After finding a color you want to build with, use the color scheme generator to produce a full harmony-based palette from that HEX.

Frequently asked questions

Enter your HEX code into the color name finder input field. The tool converts the value to the CIE Lab color space and computes the Delta-E perceptual distance between your color and all 140 CSS named colors. The named color with the smallest distance is returned as the closest match. The result shows the CSS name alongside your original color so you can compare them visually.

Use a two-step workflow. First, upload your image to the image color picker tool, which extracts the dominant colors and returns their HEX values. Second, copy any extracted HEX code into this color name finder to identify its closest CSS color name. This is the most reliable way to find color names from image sources without manual color sampling.

Yes. Convert your RGB value to HEX first using the color format converter tool, then paste the HEX into the color name finder. For example, rgb(100, 149, 237) converts to #6495ED, which maps to the CSS named color cornflowerblue. The converter supports RGB, RGBA, HSL, and HSLA inputs.

The CSS Color Level 4 specification defines 148 named colors, which includes the 140 standard CSS and X11 colors plus additions from CSS4. The tool covers all 140 named CSS colors that work across all browsers without any flags or experimental support.

Mostly yes. The 140 named colors in the CSS specification include all 16 original HTML color names. One notable difference is that CSS accepts both grey and gray spellings. The CSS color names are the modern standard and work in HTML, CSS, and SVG.

No. This tool identifies CSS named colors, which are a set of 140 standard web color names defined by the CSS specification. Pantone is a proprietary color system used in print, packaging, and physical manufacturing. Pantone colors are not part of the CSS specification and require a licensed Pantone matching system for accurate identification. CSS named colors and Pantone colors are separate, incompatible systems.

For production projects with specific brand colors, HEX, HSL, or CSS custom properties are the better choice. No CSS named color will match most brand colors exactly, and using an approximation in production creates inconsistency. CSS named colors are best for prototyping, documentation, and code examples where readability matters more than exact precision.

Not directly from the default Tailwind palette, which uses numeric scales rather than CSS color names. However, you can add named colors to your Tailwind configuration using the extend.colors object. For example, extend.colors.crimson = 'crimson' makes the named color available as a Tailwind class while preserving your existing palette.

Related articles

Related tools