Created
March 25, 2013 16:31
-
-
Save pedroj/5238457 to your computer and use it in GitHub Desktop.
Color-blind palettes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # The palette with grey: | |
| cbPalette <- c("#999999", "#E69F00", "#56B4E9", "#009E73", "#F0E442", "#0072B2", "#D55E00", "#CC79A7") | |
| # The palette with black: | |
| cbbPalette <- c("#000000", "#E69F00", "#56B4E9", "#009E73", "#F0E442", "#0072B2", "#D55E00", "#CC79A7") | |
| # To use for fills, add | |
| scale_fill_manual(values=cbPalette) | |
| # To use for line and point colors, add | |
| scale_colour_manual(values=cbPalette) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment