Returns a named character vector of hex colors for an NFL team. Teams cover
the 2026 NFL season.
Call colorr.teams("nfl") for the full list of team names.
Usage
nfl.colors(
set = c("bears", "bengals", "bills", "broncos", "browns", "buccaneers", "cardinals",
"chargers", "chiefs", "colts", "commanders", "cowboys", "dolphins", "eagles",
"falcons", "giants", "jaguars", "jets", "lions", "niners", "packers", "panthers",
"patriots", "raiders", "rams", "ravens", "redskins", "saints", "seahawks",
"steelers", "texans", "titans", "vikings"),
legacy = FALSE
)Arguments
- set
Character string naming an NFL team. The retired team name
"redskins"still resolves, to the renamed franchise.- legacy
Logical. If
TRUE, return the palette that shipped with colorr 1.0.1 instead of the current one, so older figures stay reproducible. Not every team has a legacy palette; teams added since 1.0.1 will throw an error.
See also
colorr.teams to list teams, scale_fill_nfl for the
ggplot2 scales.
Author
Charles Crabtree charles.crabtree@monash.edu
