| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 |
« Sen on "How Having Daughters Affect Judges' Voting" | Main | Mapping the Republican Field for 2012 »
4 February 2011
Kottke observes that the whole list of Crayola colors and their hex codes is on Wikipedia, which got me thinking that it might be useful to have some colors to spruce up R graphics. So, I went ahead and created a convenient crayola vector to access all 133 standard Crayola colors. Here are all the colors in R:

And here is a simple example of how to use it:
hist(rnorm(1000), col = crayola["Granny Smith Apple"], border = "white", yaxt = "n")

Always remember, folks, playing with colors is a dangerous game. Use discretion.
Posted by Matt Blackwell at February 4, 2011 10:38 AM