Description Usage Arguments Value References Examples
Lists (a subset of) the 949 colors consistently identified in the XKCD web color survey.
1 | 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/
1 2 3 | xcolors(10)
name2color(xcolors(10))
barplot(rep(1,10),col=name2color(xcolors(10)))
|
[1] "purple" "green" "blue" "pink" "brown"
[6] "red" "light blue" "teal" "orange" "light green"
[1] "#7e1e9c" "#15b01a" "#0343df" "#ff81c0" "#653700" "#e50000" "#95d0fc"
[8] "#029386" "#f97306" "#96f97b"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.