Skip to contents

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))