Title: | Color Palettes for EPL, MLB, NBA, NHL, and NFL Teams |
---|---|
Description: | Color palettes for EPL, MLB, NBA, NHL, and NFL teams. |
Authors: | Charles Crabtree [aut, cre] |
Maintainer: | Charles Crabtree <[email protected]> |
License: | MIT + file LICENSE |
Version: | 1.0.0 |
Built: | 2024-11-21 05:04:54 UTC |
Source: | https://github.com/cdcrabtree/colorr |
Function returns a vector of character strings from a selected EPL team's color palette. The team options are c("arsenal", "bournemouth", "burnley", "chelsea", "crystal_palace", "everton", "hull", "leicester", "liverpool", "man_city", "man_united", "middlesbrough", "southampton", "stoke_city", "sunderland", "swansea_city", "tottenham", "watford", "west_bromich_albion", "west_ham").
epl.colors(set = c("arsenal", "bournemouth", "burnley", "chelsea", "crystal_palace", "everton", "hull", "leicester", "liverpool", "man_city", "man_united", "middlesbrough", "southampton", "stoke_city", "sunderland", "swansea_city", "tottenham", "watford", "west_bromich_albion", "west_ham"))
epl.colors(set = c("arsenal", "bournemouth", "burnley", "chelsea", "crystal_palace", "everton", "hull", "leicester", "liverpool", "man_city", "man_united", "middlesbrough", "southampton", "stoke_city", "sunderland", "swansea_city", "tottenham", "watford", "west_bromich_albion", "west_ham"))
set |
Character string denoting an EPL team's color palette. |
Vector of character strings from the selected EPL team's color palette.
Charles Crabtree [email protected]
## Not run: # Manchester United colors (pal = epl.colors("man_united")) pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal) # Tottenham colors (pal = epl.colors("tottenham")) pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal) ## End(Not run)
## Not run: # Manchester United colors (pal = epl.colors("man_united")) pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal) # Tottenham colors (pal = epl.colors("tottenham")) pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal) ## End(Not run)
Function returns a vector of character strings from a selected MLB team's color palette. The team options are c("diamondbacks", "braves", "orioles", "red_sox", "cubs", "white_sox", "reds", "indians", "rockies", "tigers", "astros", "royals", "angels", "dodgers", "marlins", "brewers", "twins", "mets", "yankees", "athletics", "phillies", "pirates", "padres", "giants", "mariners", "cardinals", "rays", "rangers", "blue_jays", "nationals").
mlb.colors(set = c("diamondbacks", "braves", "orioles", "red_sox", "cubs", "white_sox", "reds", "indians", "rockies", "tigers", "astros", "royals", "angels", "dodgers", "marlins", "brewers", "twins", "mets", "yankees", "athletics", "phillies", "pirates", "padres", "giants", "mariners", "cardinals", "rays", "rangers", "blue_jays", "nationals"))
mlb.colors(set = c("diamondbacks", "braves", "orioles", "red_sox", "cubs", "white_sox", "reds", "indians", "rockies", "tigers", "astros", "royals", "angels", "dodgers", "marlins", "brewers", "twins", "mets", "yankees", "athletics", "phillies", "pirates", "padres", "giants", "mariners", "cardinals", "rays", "rangers", "blue_jays", "nationals"))
set |
Character string denoting an MLB team's color palette. |
Vector of character strings from the selected MLB team's color palette.
Charles Crabtree [email protected]
## Not run: # Colorado Rockies colors (pal = mlb.colors("rockies")) pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal) # Seattle Mariners colors (pal = mlb.colors("mariners")) pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal) ## End(Not run)
## Not run: # Colorado Rockies colors (pal = mlb.colors("rockies")) pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal) # Seattle Mariners colors (pal = mlb.colors("mariners")) pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal) ## End(Not run)
Function returns a vector of character strings from a selected NBA team's color palette. The team options are c("hawks", "hornets", "mavs", "warriors", "clippers", "heat", "pelicans", "magic", "blazers", "raptors", "celtics", "bulls", "nuggets", "rockets", "lakers", "bucks", "knicks", "sixers", "kings", "jazz", "nets", "cavs", "pistons", "pacers", "grizzlies", "wolves", "thunder", "suns", "spurs", "wizards", "sonics")
nba.colors(set = c("hawks", "hornets", "mavs", "warriors", "clippers", "heat", "pelicans", "magic", "blazers", "raptors", "celtics", "bulls", "nuggets", "rockets", "lakers", "bucks", "knicks", "sixers", "kings", "jazz", "nets", "cavs", "pistons", "pacers", "grizzlies", "wolves", "thunder", "suns", "spurs", "wizards", "sonics"))
nba.colors(set = c("hawks", "hornets", "mavs", "warriors", "clippers", "heat", "pelicans", "magic", "blazers", "raptors", "celtics", "bulls", "nuggets", "rockets", "lakers", "bucks", "knicks", "sixers", "kings", "jazz", "nets", "cavs", "pistons", "pacers", "grizzlies", "wolves", "thunder", "suns", "spurs", "wizards", "sonics"))
set |
Character string denoting an NBA team's color palette. |
Vector of character strings from the selected NBA team's color palette.
Charles Crabtree [email protected]
## Not run: # Detroit Pistons colors (pal = nba.colors("pistons")) pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal) # Milwaukee Bucks colors (pal = nba.colors("bucks")) pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal) ## End(Not run)
## Not run: # Detroit Pistons colors (pal = nba.colors("pistons")) pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal) # Milwaukee Bucks colors (pal = nba.colors("bucks")) pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal) ## End(Not run)
Function returns a vector of character strings from a selected NFL team's color palette. The team options are c("cardinals", "falcons", "ravens", "bills", "panthers", "bears", "bengals", "browns", "cowboys", "broncos", "lions", "packers", "texans", "colts", "jaguars", "chiefs", "chargers", "rams", "dolphins", "vikings", "patriots", "saints", "giants", "jets", "raiders", "eagles", "steelers", "niners", "seahawks", "buccaneers", "titans", "redskins").
nfl.colors(set = c("cardinals", "falcons", "ravens", "bills", "panthers", "bears", "bengals", "browns", "cowboys", "broncos", "lions", "packers", "texans", "colts", "jaguars", "chiefs", "chargers", "rams", "dolphins", "vikings", "patriots", "saints", "giants", "jets", "raiders", "eagles", "steelers", "niners", "seahawks", "buccaneers", "titans", "redskins"))
nfl.colors(set = c("cardinals", "falcons", "ravens", "bills", "panthers", "bears", "bengals", "browns", "cowboys", "broncos", "lions", "packers", "texans", "colts", "jaguars", "chiefs", "chargers", "rams", "dolphins", "vikings", "patriots", "saints", "giants", "jets", "raiders", "eagles", "steelers", "niners", "seahawks", "buccaneers", "titans", "redskins"))
set |
Character string denoting an NFL team's color palette. |
Vector of character strings from the selected NFL team's color palette.
Charles Crabtree [email protected]
## Not run: # Detroit Lions colors (pal = nfl.colors("lions")) pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal) # Detroit Broncos colors (pal = epl.colors("broncos")) pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal) ## End(Not run)
## Not run: # Detroit Lions colors (pal = nfl.colors("lions")) pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal) # Detroit Broncos colors (pal = epl.colors("broncos")) pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal) ## End(Not run)
Function returns a vector of character strings from a selected NHL team's color palette. The team options are c("ducks", "coyotes", "bruins", "sabres", "flames", "hurricanes", "blackhawks", "avalanche", "blue_jackets", "stars", "red_wings", "oilers", "panthers", "kings", "wild", "canadiens", "predators", "devils", "islanders", "rangers", "senators", "flyers", "penguins", "sharks", "blues", "lightning", "maple_leafs", "canucks", "golden_knights", "capitals", "jets").
nhl.colors(set = c("ducks", "coyotes", "bruins", "sabres", "flames", "hurricanes", "blackhawks", "avalanche", "blue_jackets", "stars", "red_wings", "oilers", "panthers", "kings", "wild", "canadiens", "predators", "devils", "islanders", "rangers", "senators", "flyers", "penguins", "sharks", "blues", "lightning", "maple_leafs", "canucks", "golden_knights", "capitals", "jets"))
nhl.colors(set = c("ducks", "coyotes", "bruins", "sabres", "flames", "hurricanes", "blackhawks", "avalanche", "blue_jackets", "stars", "red_wings", "oilers", "panthers", "kings", "wild", "canadiens", "predators", "devils", "islanders", "rangers", "senators", "flyers", "penguins", "sharks", "blues", "lightning", "maple_leafs", "canucks", "golden_knights", "capitals", "jets"))
set |
Character string denoting an NHL team's color palette. |
Vector of character strings from the selected NHL team's color palette.
Charles Crabtree [email protected]
## Not run: # Anaheim Ducks colors (pal = nhl.colors("ducks")) pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal) # Colorado Avalanche colors (pal = nhl.colors("avalanche")) pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal) ## End(Not run)
## Not run: # Anaheim Ducks colors (pal = nhl.colors("ducks")) pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal) # Colorado Avalanche colors (pal = nhl.colors("avalanche")) pie(rep(1, length(pal)), labels = sprintf("%d (%s)", seq_along(pal), pal), col = pal) ## End(Not run)