Returns a named character vector of hex colors for an NBA team. Teams cover
the 2026-27 NBA season, plus the Seattle SuperSonics.
Call colorr.teams("nba") for the full list of team names.
Usage
nba.colors(
set = c("blazers", "bucks", "bulls", "cavs", "celtics", "clippers", "grizzlies",
"hawks", "heat", "hornets", "jazz", "kings", "knicks", "lakers", "magic", "mavs",
"nets", "nuggets", "pacers", "pelicans", "pistons", "raptors", "rockets", "sixers",
"sonics", "spurs", "suns", "thunder", "warriors", "wizards", "wolves"),
legacy = FALSE
)See also
colorr.teams to list teams, scale_fill_nba for the
ggplot2 scales.
Author
Charles Crabtree charles.crabtree@monash.edu
