View source: R/higher_ex_pal.R
higher_ex_pal | R Documentation |
Look up a Higher Expectations color palette by name
higher_ex_pal(palette = "main", reverse = FALSE, n.colors = NULL, ...)
palette |
the name of the palette, defaults to "main" |
reverse |
should the palette's order be reversed, defaults to FALSE |
n.colors |
choose this to limit the number of colors in the palette, defaults to NULL for all of the palette's colors |
... |
further arguments to pass to 'grDevices::colorRampPalette' |
a color palette object for use in, e.g., ggplot The available palettes are
Five colors from the branding document
Three shades of blue, light to dark
Two shades of orange
Gray, Gold, and White
Four colors for Racine's empirical census races
The reverse of 'logo'
The first four default colors from Tableau
Navy, the intermediate green, and Gold
Bright Blue, the intermediate green, and Gold
Medium Blue, the intermediate green, and Gold
higher_ex_pal("blues")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.