powered by
Given a color specified as a hex string, find the closest match in the table of known (named) colors
color.id(col)
the name of the closest match
a color specified as a hex string
Ben Bolker
finds the color with the minimum squared distance in RGB space
col2rgb,colors
color.id("#cc00cc")
Run the code above in your browser using DataLab