Skip to contents

Print a palette

Usage

# S3 method for class 'palette'
print(x, ...)

Arguments

x

A character value or a vector of values of class palette.

...

Other arguments

Value

Shows image of a palette with the specified colours.

Examples

if (FALSE) { # \dontrun{
  pal <- oxford_theme_palettes()$heritage
  class(pal) <- palette
} # }