xcolors | R Documentation |
Lists (a subset of) the 949 colors consistently identified in the XKCD web color survey.
xcolors(max_rank = -1)
max_rank |
If positive, restrict to the top (most frequently named) |
Vector of character strings
http://blog.xkcd.com/2010/05/03/color-survey-results/
xcolors(10)
name2color(xcolors(10))
barplot(rep(1,10),col=name2color(xcolors(10)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.