Color Name Finder — Get Color Name from Hex RGB

Find the closest CSS named color for any hex or RGB value. Instantly match your color to the nearest standard web color name. 100% client-side — your data stays private.

Color Name Finder

Pick or Enter a Color
Or Enter RGB
Result
Blue
#3B82F6
Color Values
HEX #3B82F6
RGB rgb(59, 130, 246)
HSL hsl(217, 91%, 60%)
Distance
Color difference (Euclidean): 0

How to Use the Color Name Finder

  1. Pick a color using the color picker or type a hex value in the input field.
  2. Or enter RGB values directly in the R, G, B fields.
  3. The tool instantly finds the closest CSS named color using Euclidean distance in RGB space.
  4. View the exact color name, along with HEX, RGB, and HSL values.
  5. Copy any value with one click.

Why Use This Color Name Finder

CSS defines 148 named colors (like tomato, steelblue, coral) but sometimes you only have a hex or RGB value. This tool instantly tells you which named color is closest, helping you use meaningful, readable color names in your CSS and design systems.

This is especially useful when working with brand colors, converting design files, or debugging CSS. Instead of referencing opaque hex codes, you can use descriptive color names that are easier to remember and share with your team.

Frequently Asked Questions

It calculates the Euclidean distance in RGB color space between your input color and all 148 CSS named colors. The color with the smallest distance is the closest match. This is the standard approach used in color science for perceptually simple matching.

CSS named colors are the 148 predefined color names recognized by all modern browsers, such as red, blue, tomato, and mediumseagreen. They can be used directly in CSS instead of hex or RGB values.

The tool returns the one with the smaller Euclidean distance. If two colors are equidistant, the first match found is displayed. In practice, the difference is negligible — both would be equally "close" to your input.

Use Cases

CSS Code Cleanup

Replace hex codes with readable named colors in your stylesheets for cleaner, more maintainable CSS.

Design File Conversion

Convert hex color values from design files like Figma or Sketch into CSS named equivalents.

Brand Color Naming

Find meaningful names for brand colors when setting up a design system or style guide.

Accessibility Auditing

Quickly identify named colors when auditing color contrast and accessibility compliance.