xcolors {xkcdcolors} | R Documentation |
List the XKCD survey colors
Description
Lists (a subset of) the 949 colors consistently identified in the XKCD web color survey.
Usage
xcolors(max_rank = -1)
Arguments
max_rank |
If positive, restrict to the top (most frequently named) |
Value
Vector of character strings
References
http://blog.xkcd.com/2010/05/03/color-survey-results/
Examples
xcolors(10)
name2color(xcolors(10))
barplot(rep(1,10),col=name2color(xcolors(10)))
[Package xkcdcolors version 1.0 Index]