borstell / callettes

R color palettes by Calle

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

callettes

Color palettes by Calle: callettes

Install package

#install.packages("devtools")
devtools::install_github("borstell/callettes")
library(callettes)

Color palettes

Basic rainbow palette

scales::show_col(callettes$rainbow, ncol=5)

Basic colorblind-friendly palette

#remotes::install_github("nowosad/colorblindcheck")
library(colorblindcheck)
palette_check(callettes$friendly, plot = TRUE)

Expanded color palette

scales::show_col(expand_palette(callettes$green, amount = -.1), ncol=10, labels=F)

About

R color palettes by Calle

License:MIT License


Languages

Language:R 100.0%