color.id {plotrix} | R Documentation |
Given a color given as a hex string, find the closest match in the table of known (named) colors
color.id(col)
col |
a color specified as a hex string |
finds the color with the minimum squared distance in RGB space
the name of the closest match
Ben Bolker
color.id("#cc00cc")