Skip to contents

Access a jonohey palette

Usage

jonohey_pal(
  palette,
  n = NULL,
  type = c("discrete", "continuous"),
  reverse = FALSE
)

Arguments

palette

palette name

n

number of colors. If NULL, returns full palette

type

"discrete" or "continuous"

reverse

reverse order

Value

character vector of hex colors, or a function for continuous scales when used by ggplot