pal_iterm: iTerm color palettes

View source: R/discrete-iterm.R

pal_itermR Documentation

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.

Details

Preview all available iTerm color palettes in ggsci: https://nanx.me/ggsci-iterm/.

References

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

Examples

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

ggsci documentation built on Nov. 5, 2025, 6:01 p.m.