solarized_pal: Solarized color palette (discrete)

Description Usage Arguments Note See Also Examples

View source: R/solarized.R

Description

Qualitative color palate based on the Ethan Schoonover's Solarized palette, https://ethanschoonover.com/solarized/. This palette supports up to seven values.

Usage

1
solarized_pal(accent = "blue")

Arguments

accent

character Starting color.

Note

For a given starting color and number of colors in the palette, the other colors are the combination of colors that maximizes the total Euclidean distance between colors in L*a*b space.

See Also

Other solarized colour: scale_fill_solarized()

Examples

1
2
3
4
5
library("scales")

show_col(solarized_pal()(2))
show_col(solarized_pal()(3))
show_col(solarized_pal("red")(4))

Example output



ggthemes documentation built on Jan. 20, 2021, 5:05 p.m.