{PrettyCols} is an R package containing aesthetically pleasing colour palettes.
The structure of the package is based on code from the {PNWColors}, {wesanderson}, and {MetBrewer} packages.
{PrettyCols} is available on CRAN. Install using:
install.packages("PrettyCols")
or install the development version from GitHub:
# remotes::install_github("nrennie/PrettyCols")
install.packages("PrettyCols", repos = c('https://nrennie.r-universe.dev', 'https://cloud.r-project.org'))
See nrennie.rbind.io/PrettyCols for full documentation.
If you have a suggestion of an additional feature, or find a bug, please file an issue on the GitHub repository.
A Python implementation of this package can be found at github.com/nrennie/PrettyPyCols.
QGIS users can use {PrettyCols} through QGIS Style at plugins.qgis.org/styles/192. Thanks to @Heed725 for the implementation!
If you'd like to contribute to {PrettyCols}, I'd welcome your help. If you're making a PR, please follow the guidelines below, to make the collaboration easier:
lintr::lint_package() passes.|> pipe (we're not quite ready to specify R 4.1 or higher as a dependency yet!).If these checks fail, and there is no response from the PR author for 1 month, the PR will be automatically closed.