Learn R Programming

qualpalr (version 1.0.0)

get_palette: Retrieve one of the built-in color palettes

Description

This function retrieves a color palette from the built-in palettes. To see the available palettes, use list_palettes().

Usage

get_palette(palette = "ColorBrewer:Accent")

Value

A character vector of colors in hex format.

Arguments

palette

A character string specifying the name of the color palette to

See Also

list_palettes()

Examples

Run this code
get_palette("Vermeer:LittleStreet")

Run the code above in your browser using DataLab