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:


Hex code: #20A020

Matches in rgb.txt:

No exact match found for (32 160 32) (#20a020                   
Closest matches:
forest (34 139 34) (#228b22)                   
ForestGreen (34 139 34) (#228b22)                   

Matches in CSS color list:

No exact match found for (32 160 32) (#20a020                   
Closest matches:
green (0 128 0) (#008000)                   

The source code.


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