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")
)

Arguments

n

integer; the number of colors to be in the palette.

season

character; the season to generate colors for or "weekly" to get the color palette used in the weekly abundance animations.

Value

A character vector of hex color codes.

Examples

# breeding season color palette
abundance_palette(10, season = "breeding")
#>  [1] "#DFC0BC" "#DBADA7" "#D89A92" "#D5887D" "#D27568" "#CF6252" "#CC503E"
#>  [8] "#BB4938" "#AA4233" "#993C2E"