The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Colourblind Friendly Palettes

Install from CRAN using:

install.packages("PrettyCols")

Or install the development version using:

remotes::install_github("nrennie/PrettyCols")

Then load into R:

library(PrettyCols)

To return a data frame of which colour palettes are colourblind friendly, use:

colourblind_friendly()

Note that the colorblind_friendly() is the same function.

To view the palettes that are colourblind friendly, set the colourblind_friendly argument in view_all_palettes() to TRUE. To view all colourblind friendly palettes:

view_all_palettes(colourblind_friendly = TRUE)

This can be combined with a palette type. For example, to view all diverging colour palettes that are colourblind friendly:

view_all_palettes(type = "div", colourblind_friendly = TRUE)

Colourblind friendliness was checked using the {colorblindcheck} R package.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.