Skip to contents

Create colour palettes based on IDEM, IDDU, and ACEFA colours

Usage

idpalette(p, n = NULL, rev = FALSE)

Arguments

p

character. Which palette? See ?idpal for details.

n

numeric. How many colours?

rev

logical Reverse the colour order?

Value

idpalette class object of hex colours length n. The idpalette class has a print method that will plot the colours in the object, but it is underneath that a character string of length n and can be otherwise treated as such.

Examples


idpalette(
  "idem",
  n = 20,
  rev = TRUE
)