Skip to contents

Color palette extracted from the active Bootstrap theme. By default colors are read from an external _brand.yaml configuration file (or uses this package defaults).

Usage

pal(x = NULL, named = TRUE)

Arguments

x

Color index or name(s), if missing returns the entire color palette

named

keep color names (default: TRUE)

Value

A vector of (named) hex color codes extracted from Bootstrap branding

References

brand.yml

Examples

scales::show_col(pal())

scales::show_col(pal(c("orange", "red")))