Skip to contents

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.

Examples

library("scales")
show_col(pal_iterm("Rose Pine")(6))

show_col(pal_iterm("Rose Pine", variant = "bright", alpha = 0.7)(6))