Learn R Programming

ggsci (version 4.0.0)

pal_iterm: iTerm color palettes

Description

ANSI terminal color palettes sourced from the iterm2-color-schemes project. Each theme provides normal and bright variants.

Usage

pal_iterm(
  palette = iterm_palettes(),
  variant = c("normal", "bright"),
  alpha = 1
)

Arguments

palette

Palette name. See iterm_palettes() for available options.

variant

Variant of the palette. One of "normal", "bright".

alpha

Transparency level, a real number in (0, 1]. See alpha in grDevices::rgb() for details.

References

https://github.com/mbadolato/iTerm2-Color-Schemes

Examples

Run this code
library("scales")
show_col(pal_iterm("Rose Pine")(6))
show_col(pal_iterm("Rose Pine", variant = "bright", alpha = 0.7)(6))

Run the code above in your browser using DataLab