# Colorado Rockies colors
pal <- mlb.colors("rockies")
pal
pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal)
# Seattle Mariners colors
mlb.colors("mariners")
# the palette that shipped with colorr 1.0.1
mlb.colors("rockies", legacy = TRUE)
Run the code above in your browser using DataLab