nearest_named | R Documentation |
Looks up the nearest (sufficiently popular) named color to the specified color
nearest_named(color, hex_only = FALSE, max_rank = -1, Lab=TRUE)
color |
Vector of character strings or matrix of RGB values |
hex_only |
if |
max_rank |
Consider only the |
Lab |
Use the 'Lab' color space if |
A hex string with the color, or a data frame
http://blog.xkcd.com/2010/05/03/color-survey-results/
nearest_named("#8f7303")
nearest_named("#8f7303",max_rank=100)
nearest_named("#8f7303",max_rank=10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.