higher_ex_pal.Rd
Look up a Higher Expectations color palette by name
higher_ex_pal(palette = "main", reverse = FALSE, n.colors = NULL, ...)
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")
#> function (n)
#> {
#> x <- ramp(seq.int(0, 1, length.out = n))
#> if (ncol(x) == 4L)
#> rgb(x[, 1L], x[, 2L], x[, 3L], x[, 4L], maxColorValue = 255)
#> else rgb(x[, 1L], x[, 2L], x[, 3L], maxColorValue = 255)
#> }
#> <bytecode: 0x56366a6c6090>
#> <environment: 0x56366a6aef60>