# Anaheim Ducks colors
pal <- nhl.colors("ducks")
pal
pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal)
# Utah Mammoth colors
nhl.colors("utah")
# the palette that shipped with colorr 1.0.1
nhl.colors("ducks", legacy = TRUE)
Run the code above in your browser using DataLab