xkcdcolors (version 1.0)

xcolors: 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) max_rank colors.

Value

Vector of character strings

References

http://blog.xkcd.com/2010/05/03/color-survey-results/

Examples

Run this code
xcolors(10)
name2color(xcolors(10))
barplot(rep(1,10),col=name2color(xcolors(10)))

Run the code above in your browser using DataCamp Workspace