color.id | R Documentation |
Given a color specified 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
col2rgb,colors
color.id("#cc00cc")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.