1 # color_dissimilarity 2 Measure the similarity of colors in a palette, and choose dissimilar colors from them 3 4 I'm not developing an entire package here (I'm using the MIT Lincense intentionally to make it easy for you to use it in _your_ package), just sketching out ways to do some things that I often want to do. 5 6 Some goals: 7 * Measure the (dis)similarity of colors is a perceptually scaled space (CIELAB) with a couple different options for dealing with colorblindness. 8 * Offer a couple options for choosing _N_ colors from a set of _M_ colors that maximizes the minimum pairwise dissimilarity (i.e., make sure the most similar colors aren't _too_ similar). 9 * Generate palette functions that handle the above (a palette function returns a function that itself takes a single argument--a number of colors--and returns them). 10 * Demonstrate how to use these in ggplot2. 11 12 That's it! Wish me luck.