All Projects β†’ EmilHvitfeldt β†’ Paletteer

EmilHvitfeldt / Paletteer

Licence: other
🎨🎨🎨 Collection of most color palettes in a single R package

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Paletteer

Ghibli
Studio Ghibli colour palettes
Stars: ✭ 227 (-57.57%)
Mutual labels:  rstats, color-palette
Scico
Palettes for R based on the Scientific Colour-Maps
Stars: ✭ 202 (-62.24%)
Mutual labels:  rstats, color-palette
R Color Palettes
Comprehensive list of color palettes available in r β€οΈπŸ§‘πŸ’›πŸ’šπŸ’™πŸ’œ
Stars: ✭ 708 (+32.34%)
Mutual labels:  rstats, color-palette
Ggpomological
πŸ‘ Pomological plot theme for ggplot2
Stars: ✭ 293 (-45.23%)
Mutual labels:  rstats, color-palette
Vue Swatches
🎨 Help the user picking beautiful colors!
Stars: ✭ 456 (-14.77%)
Mutual labels:  color-palette
Tidytuesday
πŸ“Š My contributions to the #TidyTuesday challenge
Stars: ✭ 410 (-23.36%)
Mutual labels:  rstats
Echarts4r
🐳 ECharts 5 for R
Stars: ✭ 378 (-29.35%)
Mutual labels:  rstats
Tweenr
Interpolate your data
Stars: ✭ 376 (-29.72%)
Mutual labels:  rstats
Moderndive book
Statistical Inference via Data Science: A ModernDive into R and the Tidyverse
Stars: ✭ 527 (-1.5%)
Mutual labels:  rstats
Timevis
πŸ“… Create interactive timeline visualizations in R
Stars: ✭ 470 (-12.15%)
Mutual labels:  rstats
Metaflow
πŸš€ Build and manage real-life data science projects with ease!
Stars: ✭ 5,108 (+854.77%)
Mutual labels:  rstats
Geobr
Easy access to official spatial data sets of Brazil in R and Python
Stars: ✭ 411 (-23.18%)
Mutual labels:  rstats
Nord
An arctic, north-bluish color palette.
Stars: ✭ 4,816 (+800.19%)
Mutual labels:  color-palette
Summarytools
R Package to Quickly and Neatly Summarize Data
Stars: ✭ 390 (-27.1%)
Mutual labels:  rstats
Vapeplot
matplotlib extension for vaporwave aesthetics
Stars: ✭ 483 (-9.72%)
Mutual labels:  color-palette
Visdat
Preliminary Exploratory Visualisation of Data
Stars: ✭ 377 (-29.53%)
Mutual labels:  rstats
Chromacolorpicker
🎨 An intuitive iOS color picker built in Swift.
Stars: ✭ 434 (-18.88%)
Mutual labels:  color-palette
Hexsticker
✨ Hexagon sticker in R
Stars: ✭ 464 (-13.27%)
Mutual labels:  rstats
H2o4gpu
H2Oai GPU Edition
Stars: ✭ 416 (-22.24%)
Mutual labels:  rstats
Regexplain
πŸ” An RStudio addin slash regex utility belt
Stars: ✭ 413 (-22.8%)
Mutual labels:  rstats

paletteer

R build status CRAN status CRAN_Download_Badge Codecov test coverage Lifecycle: stable

The goal of paletteer is to be a comprehensive collection of color palettes in R using a common interface. Think of it as the β€œcaret of palettes”.

Notice This version is not backwards compatible with versions <= 0.2.1. Please refer to the end of the readme for breaking changes

Installation

You can install the released version of paletteer from CRAN with:

install.packages("paletteer")

If you want the development version instead then install directly from GitHub:

# install.packages("devtools")
devtools::install_github("EmilHvitfeldt/paletteer")

Palettes

The palettes are divided into 2 groups; discrete and continuous. For discrete palette you have the choice between the fixed width palettes and dynamic palettes. Most common of the two are the fixed width palettes which have a set amount of colors which doesn’t change when the number of colors requested vary like the following palettes:

on the other hand we have the dynamic palettes where the colors of the palette depend on the number of colors you need like the green.pal palette from the cartography package:

Lastly we have the continuous palettes which provides as many colors as you need for a smooth transition of color:

This package includes 2128 palettes from 59 different packages and information about these can be found in the following data.frames: palettes_c_names, palettes_d_names and palettes_dynamic_names. Additionally this github repo showcases all the palettes included in the package and more.

Examples

All the palettes can be accessed from the 3 functions paletteer_c(), paletteer_d() and paletteer_dynamic() using the by using the syntax packagename::palettename.

paletteer_c("scico::berlin", n = 10)
#> <colors>
#> #9EB0FFFF #5AA3DAFF #2D7597FF #194155FF #11181DFF #270C01FF #501802FF #8A3F2AFF #C37469FF #FFACACFF
paletteer_d("nord::frost")
#> <colors>
#> #8FBCBBFF #88C0D0FF #81A1C1FF #5E81ACFF
paletteer_dynamic("cartography::green.pal", 5)
#> <colors>
#> #B8D9A9FF #8DBC80FF #5D9D52FF #287A22FF #17692CFF

All of the functions now also support tab completion to easily access the hundreds of choices

ggplot2 scales

Lastly the package also includes scales for ggplot2 using the same standard interface

library(ggplot2)

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

Breaking changes

In version <= 0.2.1 a palatte was selected by specifying a package and palette argument like so

paletteer_c(package = "nord", palette = "frost")

After version 0.2.1 palettes are selected using the syntax "packagename::palettename" inside the palette functions.

paletteer_c("nord::frost")

Special thanks

Included packages

paletteer includes palettes from the following packages:

Name Github CRAN
awtools awhstin/awtools - 0.2.1 -
basetheme karoliskoncevicius/basetheme - 0.1.2 0.1.2
beyonce dill/beyonce - 0.1 -
calecopal an-bui/calecopal - 0.1.0 -
cartography riatelab/cartography - 2.4.2 2.4.2
colorBlindness - 0.1.6
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.0 0.2.0
futurevisions JoeyStanley/futurevisions - 0.1.1 -
gameofthrones aljrico/gameofthrones - 1.0.2 1.0.2
ggpomological gadenbuie/ggpomological - 0.1.2 -
ggsci nanxstats/ggsci - 2.9 2.9
ggthemes jrnold/ggthemes - 4.2.0 4.2.0
ggthemr Mikata-Project/ggthemr - 1.1.0 -
ghibli ewenme/ghibli - 0.3.2.9000 0.3.2
grDevices - 4.0.2
harrypotter aljrico/harrypotter - 2.1.1 2.1.1
IslamicArt lambdamoses/IslamicArt - 0.1.0 -
jcolors jaredhuling/jcolors - 0.0.4 0.0.4
khroma nfrerebeau/khroma - 1.3.0.9000 1.3.0
LaCroixColoR johannesbjork/LaCroixColoR - 0.1.0 -
lisa tyluRp/lisa - 0.1.1.9000 0.1.1
Manu G-Thomson/Manu - 0.0.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.2.0 0.2.0
pals kwstat/pals - 1.6 1.6
PNWColors jakelawlor/PNWColors - 0.1.0 -
Polychrome - 1.2.6
rcartocolor Nowosad/rcartocolor - 2.0.0 2.0.0
RColorBrewer - 1.1-2
Redmonder - 0.2.0
rockthemes johnmackintosh/rockthemes - 0.0.0.9000 -
RSkittleBrewer alyssafrazee/RSkittleBrewer - 1.1 -
rtist tomasokal/rtist - 1.0.0 1.0.0
scico thomasp85/scico - 1.2.0 1.2.0
soilpalettes kaizadp/soilpalettes - 0.1.0 -
suffrager alburezg/suffrager - 0.1.0 -
tidyquant business-science/tidyquant - 1.0.0 1.0.0
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.7 -
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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].