# Detroit Pistons colors
pal <- nba.colors("pistons")
pal
pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal)
# Milwaukee Bucks colors
nba.colors("bucks")
# the palette that shipped with colorr 1.0.1
nba.colors("pistons", legacy = TRUE)
Run the code above in your browser using DataLab