Skip to contents

Color palettes used by charts in Apple Numbers. Each palette provides the six series colors that Numbers assigns to a chart's data series, in order.

Usage

numbers_pal(palette = "Classic")

Arguments

palette

Palette name. One of "Blue Green", "Blue Violet", "Blue", "Brown", "Classic", "Earth Tone", "Gray", "Green", "Jade", "Mid Century", "Showroom", "Spectrum". The default, "Classic", is the palette Numbers itself uses by default.

Value

A palette function. It takes the number of colors n and returns a character vector of n hex colors, and can be used as the palette argument of ggplot2::discrete_scale().

See also

Other color numbers: scale_fill_numbers()

Examples

library("scales")

show_col(numbers_pal()(6))

show_col(numbers_pal("Spectrum")(6))