sc_across: Generates a palette within across hues

View source: R/build_palettes.R

sc_acrossR Documentation

Generates a palette within across hues

Description

Generates a palette within across hues

Usage

sc_across(palette = "ROYGTBVPGy", light = 3, sat = "", return = NULL)

Arguments

palette

the first letter of each hue to include

light

the lightness value to hold constant (1:7)

sat

the saturation value to hold constant ("bright", "muted", "dull", "")

return

defaults to returning hex codes but can also return a table or plot of the generated palette

See Also

Other palettes: sc_within()

Examples

sc_across(palette = "BO")
sc_across(palette = "BO", sat = "bright", return = "table")
sc_across(palette = "BO", sat = "bright", return = "plot")
sc_across(palette = "RBTVPGy", light = 4, return = "plot")

simplecolors documentation built on Aug. 31, 2023, 9:07 a.m.