R/abundance-palette.R
abundance_palette.Rd
Generate the color palettes used for the eBird Status and Trends relative abundance maps.
abundance_palette(
n,
season = c("weekly", "breeding", "nonbreeding", "migration", "prebreeding_migration",
"postbreeding_migration", "year_round")
)
integer; the number of colors to be in the palette.
character; the season to generate colors for or "weekly" to get the color palette used in the weekly abundance animations.
A character vector of hex color codes.
# breeding season color palette
abundance_palette(10, season = "breeding")
#> [1] "#DFC0BC" "#DBADA7" "#D89A92" "#D5887D" "#D27568" "#CF6252" "#CC503E"
#> [8] "#BB4938" "#AA4233" "#993C2E"