Skip to contents

rtpalette() prints names of available color palettes Each palette is a named list of hexadecimal color definitions which can be used with any graphics function. rtpalette(palette_name) returns a list of colors for a given palette.

Usage

rtpalette(palette = NULL, verbosity = 1L)

Arguments

palette

Character: Name of palette to return. Default = NULL: available palette names are printed and no palette is returned.

verbosity

Integer: Verbosity level.

Value

A list of available palettes, invisibly.

Author

EDG

Examples

if (FALSE) { # \dontrun{
rtpalette("imperial")
rtpalette()
} # }