Skittle-themed color schemes for R graphics with RSkittleBrewer!

Mar 6, 2014

Choosing the perfect set of colors for a plot is hard. But people have thought a lot about this problem, and there are solutions! If you’re an R user looking for publication-quality color schemes that are backed by lots of scientific research, check out RColorBrewer, or use the color schemes in ggplot2.

If, on the other hand, you’re looking for a color scheme that reminds you of a bag of Skittles, check out RSkittleBrewer. This is a tiny R package I wrote yesterday to generate vectors of valid R color names for certain Skittle flavors. You can also generate a vector of M&M colors, if (like me) you’re more into chocolate.