Learn R Programming

khroma (version 1.12.0)

info: Available Palettes

Description

Returns information about the available palettes.

Usage

info()

Arguments

Value

A data.frame with the following columns:

palette

Names of palette.

type

Types of palettes: sequential, diverging or qualitative.

max

Maximum number of colors that are contained in each palette. Only relevant for qualitative palettes.

missing

The hexadecimal color value for mapping missing values.

Author

N. Frerebeau

See Also

Other color palettes: colour(), ramp(), scale_picker

Examples

Run this code
## Get a table of available palettes
info()

Run the code above in your browser using DataLab