The goal of this repository is to have a one stop destination for anyone looking for a color palette to use in r. If you would like to help/contribute please feel free post an issue, PR or send a email to [email protected].
----- Atttention ----- As this project is still in its early days I especially appreciate feedback on packages I have overlooked.
Further down the page is all the palettes available in the R ecosystem order alphabetically by package name. A list of palettes ordered by type can be found here Type sorted palettes to shorten the length of this page.
- Main page
- Blogposts and other resources
- Generative packages
- Honorable mentions
- Palettes sorted by Package (alphabetically)
Here is a collection of material on the use and creation of color palettes in r.
- Creating corporate colour palettes for ggplot2
- Make your own color palettes with paletti
- How to create a color palette in R with more than 15 colors with ggplot2
- Generating a Custom Color Palette Function in R
- How to build a color palette from any image with R and k-means algo
The purpose of this project is to showcase the palettes already available in R (packages). However sometimes you have to resort to make one yourself. When that is the case the following packages aides in creating.
- AndreaCirilloAC/paletter
- jolars/qualpalr
- ronammar/randomcoloR
- johnbaums/hues
- ColorPalette
- oaColors
- earthtones
- leeper/colourlovers
When creating color palettes certain website have also provided valuable
Due to the somehow vague notion of "color palette" have I decided to exclude certain kinds of packages from the main gallery. Generative package have been discussed earlier.
Many of the palettes in sports related palettes have a very limited number of colors (often only 2 colors). This leads to quite low usability outside of the special area of sports analytic.
-
colorr Color palettes for EPL, MLB, NBA, NHL, and NFL teams.
-
beanumber/teamcolors An R package providing color palettes for pro sports teams.
# Developmental version
devtools::install_github("awhstin/awtools")
# Developmental version
devtools::install_github("marcosci/cividis")
# Developmental version
devtools::install_github("EdwinTh/dutchmasters")
# Developmental version
devtools::install_github("road2stat/ggsci")
# CRAN version
install.packages("ggsci")
# Developmental version
devtools::install_github("ewenme/ghibli")
# CRAN version
install.packages("ghibli")
# CRAN version
install.packages("grDevices")
# Developmental version
devtools::install_github("jkaupp/nord")
# CRAN version
install.packages("nord")
# Developmental version
devtools::install_github("ropenscilabs/ochRe")
# CRAN version
install.packages("ochRe")
# CRAN version
install.packages("oompaBase")
# Developmental version
devtools::install_github("timcdlucas/palettetown")
# CRAN version
install.packages("palettetown")
# Developmental version
devtools::install_github("kwstat/pals")
# CRAN version
install.packages("pals")
# Developmental version
devtools::install_github("kwstat/pals")
# CRAN version
install.packages("pals")
# Developmental version
devtools::install_github("kwstat/pals")
# CRAN version
install.packages("pals")
# Developmental version
devtools::install_github("kwstat/pals")
# CRAN version
install.packages("pals")
# Developmental version
devtools::install_github("kwstat/pals")
# CRAN version
install.packages("pals")
# Developmental version
devtools::install_github("kwstat/pals")
# CRAN version
install.packages("pals")
# CRAN version
install.packages("Polychrome")
# Developmental version
devtools::install_github("Nowosad/rcartocolor")
# CRAN version
install.packages("rcartocolor")
# CRAN version
install.packages("RColorBrewer")
# CRAN version
install.packages("Redmonder")
# Developmental version
devtools::install_github("alyssafrazee/RSkittleBrewer")
# Developmental version
devtools::install_github("sjmgarnier/viridis")
# CRAN version
install.packages("viridis")
# Developmental version
devtools::install_github("karthik/wesanderson")
# CRAN version
install.packages("wesanderson")
# Developmental version
devtools::install_github("ndphillips/yarrr")
# CRAN version
install.packages("yarrr")