orange_palettes: Interpolate a color palette

Description Usage Arguments See Also Examples

Description

Interpolate a color palette.

Usage

1
orange_palettes(palette = "main", reverse = FALSE, ...)

Arguments

palette

Character name of a palette. One of "main", "secondary", "grey", "blue", "green", "pink", "purple" or "yellow".

reverse

Boolean indicating whether the palette should be reversed.

...

Additional arguments to pass to colorRampPalette().

See Also

orange_colors, scale_color_orange, scale_fill_orange

Examples

1
2
3
orange_palettes("main")(2)
orange_palettes("secondary", reverse = TRUE)(6)
orange_palettes("blue")(10)

thoera/colorange documentation built on May 26, 2019, 5:32 a.m.