Usage
# sequential palettes
purplow(n)
darkros(n)
daright(n)
# diverging palettes
greeple(n)
bluered(n)
Arguments
- n
number of colors to be in the palette.
Value
A character vector of hex color codes.
Examples
purplow(3)
#> [1] "#081D58" "#41B6C4" "#EDF8B1"
darkros(3)
#> [1] "#49006A" "#F768A1" "#FFF7F3"
daright(3)
#> [1] "#4D004B" "#8C96C6" "#E0ECF4"
greeple(3)
#> [1] "#1B7837" "#F7F7F7" "#762A83"
bluered(3)
#> [1] "#4575B4" "#FFFFBF" "#D73027"