Color palettes for EPL, MLB, NBA, NHL, and NFL teams. The package contains the following palettes.
epl.colors
includes the color palettes for all English Premier League teams playing in the 2016-17 season.mlb.colors
includes the color palettes for all Major League Baseball teams playing in the 2016 season.nba.colors
includes the color palettes for all National Basketball Association teams playing in the 2016-17 season, as well as the colors for the Seattle Supersonics.nfl.colors
includes the color palettes for all National Football League teams that played in the 2016 season.nhl.colors
includes the color palettes for all National Hockey League teams playing in the 2016-17 season.
The latest stable version (1.0.0) can be installed from CRAN.
install.packages("colorr")
The latest development version on GitHub can be installed using devtools.
if(!require("ghit")){
install.packages("ghit")
}
ghit::install_github("cdcrabtree/colorr")
Please use the issue tracker for problems, questions, or feature requests. If you would rather email, you can contact Charles Crabtree and he will address the issue.
If you would like to contribute to the package, that is great! I welcome pull requests and new developers.
To test the software, users and potential contributors can use the example code provided in the documentation for each function.
Some of the code from the functions comes from Karl W. Broman's broman::brocolors
. Team colors come from http://jim-nielsen.com/teamcolors/ and http://teamcolorcodes.com/nba-team-color-codes/.
Also, thanks to Hadley Wickham for his excellent book, R Packages.