Last active
July 27, 2020 13:43
-
-
Save JoachimGoedhart/b2f91652de2b9e3b393c6c28be843e00 to your computer and use it in GitHub Desktop.
Generates vectors (for R) that hold a color palette that is colorblind safe
This file contains 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
#Several qualitative color palettes that are colorblind friendly | |
#From Paul Tol: https://personal.sron.nl/~pault/ | |
#Code to generate vectors in R to use these palettes | |
Tol_bright <- c('#EE6677', '#228833', '#4477AA', '#CCBB44', '#66CCEE', '#AA3377', '#BBBBBB') | |
Tol_vibrant <- c('#EE7733', '#0077BB', '#33BBEE', '#EE3377', '#CC3311', '#009988', '#BBBBBB') | |
Tol_muted <- c('#332288', '#88CCEE', '#44AA99', '#117733', '#999933', '#DDCC77', '#CC6677', '#882255', '#AA4499', '#DDDDDD') | |
Tol_light <- c('#BBCC33', '#AAAA00', '#77AADD', '#EE8866', '#EEDD88', '#FFAABB', '#99DDFF', '#44BB99', '#DDDDDD') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment