paletteer: Hundreds of color palettes in R

[This article was first published on r – paulvanderlaken.com, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Looking for just the right colors for your data visualization?

I often cover tools to pick color palettes on my website (e.g. here, here, or here) and also host a comprehensive list of color packages in my R programming resources overview.

However, paletteer is by far my favorite package for customizing your colors in R!

The paletteer package offers direct access to 1759 color palettes, from 50 different packages!

After installing and loading the package, paletteer works as easy as just adding one additional line of code to your ggplot:

install.packages("paletteer")
library(paletteer)

install.packages("ggplot2")
library(ggplot2)

ggplot(iris, aes(Sepal.Length, Sepal.Width, color = Species)) +
  geom_point() +
  scale_color_paletteer_d("nord::aurora")

paletteer offers a combined collection of hundreds of other color palettes offered in the R programming environment, so you are sure you will find a palette that you like! Here’s the list copied below, but this github repo provides more detailed information about the package contents.

Name Github CRAN
awtools awhstin/awtools – 0.2.1
basetheme KKPMW/basetheme – 0.1.2 0.1.2
calecopal an-bui/calecopal – 0.1.0
cartography riatelab/cartography – 2.2.1.1 2.2.1
colorblindr clauswilke/colorblindr – 0.1.0
colRoz jacintak/colRoz – 0.2.2
dichromat 2.0-0
DresdenColor katiesaund/DresdenColor – 0.0.0.9000
dutchmasters EdwinTh/dutchmasters – 0.1.0
fishualize nschiett/fishualize – 0.2.999 0.1.0
gameofthrones aljrico/gameofthrones – 1.0.1 1.0.0
ggpomological gadenbuie/ggpomological – 0.1.2
ggsci road2stat/ggsci – 2.9 2.9
ggthemes jrnold/ggthemes – 4.2.0 4.2.0
ggthemr cttobin/ggthemr – 1.1.0
ghibli ewenme/ghibli – 0.3.0.9000 0.3.0
grDevices 2.0-14
harrypotter aljrico/harrypotter – 2.1.0 2.1.0
IslamicArt lambdamoses/IslamicArt – 0.1.0
jcolors jaredhuling/jcolors – 0.0.4 0.0.4
LaCroixColoR johannesbjork/LaCroixColoR – 0.1.0
lisa tyluRp/lisa – 0.1.1.9000 0.1.1
MapPalettes disarm-platform/MapPalettes – 0.0.2
miscpalettes EmilHvitfeldt/miscpalettes – 0.0.0.9000
nationalparkcolors katiejolly/nationalparkcolors – 0.1.0
NineteenEightyR m-clark/NineteenEightyR – 0.1.0
nord jkaupp/nord – 1.0.0 1.0.0
ochRe ropenscilabs/ochRe – 1.0.0
oompaBase 3.2.9
palettesForR frareb/palettesForR – 0.1.2 0.1.2
palettetown timcdlucas/palettetown – 0.1.1.90000 0.1.1
palr AustralianAntarcticDivision/palr – 0.1.0 0.1.0
pals kwstat/pals – 1.6 1.6
PNWColors jakelawlor/PNWColors – 0.1.0
Polychrome 1.2.3
rcartocolor Nowosad/rcartocolor – 2.0.0 2.0.0
RColorBrewer 1.1-2
Redmonder 0.2.0
RSkittleBrewer alyssafrazee/RSkittleBrewer – 1.1
scico thomasp85/scico – 1.1.0 1.1.0
tidyquant business-science/tidyquant – 0.5.8 0.5.8
trekcolors leonawicz/trekcolors – 0.1.2 0.1.1
tvthemes Ryo-N7/tvthemes – 1.1.0 1.1.0
unikn hneth/unikn – 0.2.0.9003 0.2.0
vapeplot seasmith/vapeplot – 0.1.0
vapoRwave moldach/vapoRwave – 0.0.0.9000
viridis sjmgarnier/viridis – 0.5.1 0.5.1
visibly m-clark/visibly – 0.2.6
werpals sciencificity/werpals – 0.1.0
wesanderson karthik/wesanderson – 0.3.6.9000 0.3.6
yarrr ndphillips/yarrr – 0.1.6 0.1.5
Via the paletteer github page

Let me know what you like about the package and do share any beautiful data visualizations you create with it!

To leave a comment for the author, please follow the link and comment on their blog: r – paulvanderlaken.com.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)