pal_differently: Security Differently palette

View source: R/differently.R

pal_differentlyR Documentation

Security Differently palette

Description

Construct Security Differently branded color palettes.

Usage

pal_differently(palette = "plot", direction = 1)

differently_pal(palette = "plot", direction = 1)

Arguments

palette

Palette to use, one of: primary, status, or plot (the default).

direction

Sets the order of colors in the scale. If 1, (the default) colors are as output by differently_palettes. If -1, the order of colors is reversed.

Value

A vector of hex code colors.

Examples

library(scales)
show_col(pal_differently()(6))
show_col(pal_differently("primary")(6))
show_col(pal_differently("primary", direction = -1)(6))
show_col(pal_differently("status")(3))


jabenninghoff/jbplot documentation built on Jan. 31, 2025, 7:50 a.m.