Find the Nearest Matching Color Name

This page can take a three or six digit hexadecimal color specifier (e.g. #fff or #a210f0), or three decimal numbers for red, green, and blue, and find the nearest named colors, either in the Unix RGB.txt or in the much smaller set of CSS colors.

Hex code (3 or 6 digits): #

or Decimal values (0-255):

Red: Green: Blue:


Matches in rgb.txt:

No exact match found for (12 156 222) (#0c9cde                   
Closest matches:
DeepSkyBlue3 (0 154 205) (#009acd)                   

Matches in CSS color list:

No exact match found for (12 156 222) (#0c9cde                   
Closest matches:
teal (0 128 128) (#008080)                   

The source code.


Linux links ... Shallow Sky home ... ...Akkana