| wnba.colors | R Documentation |
Returns a named character vector of hex colors for a WNBA team. Teams cover
the 2026 WNBA season, including the Portland Fire and Toronto Tempo expansion teams.
Call colorr.teams("wnba") for the full list of team names.
wnba.colors(
set = c("aces", "dream", "fever", "fire", "liberty", "lynx", "mercury", "mystics",
"sky", "sparks", "storm", "sun", "tempo", "valkyries", "wings"),
legacy = FALSE
)
set |
Character string naming a WNBA team. |
legacy |
Logical. Ignored for the WNBA; colorr 1.0.1 shipped no WNBA palettes. Kept so every colorr palette function takes the same arguments. |
Named character vector of hex color strings.
Charles Crabtree charles.crabtree@monash.edu
colorr.teams to list teams, scale_fill_wnba for the
ggplot2 scales.
# New York Liberty colors
pal <- wnba.colors("liberty")
pal
pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal)
# Golden State Valkyries colors
wnba.colors("valkyries")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.