Easy access to the official colors of every team in Major League Baseball. Based on jimniels/teamcolors.
$ pip install mlbcolors
>>> import mlbcolors >>> mlbcolors.get("CHC") ['#CC3433', '#0E3386']
A JSON file keyed by team abbreviation is available at unpkg.com/mlbcolors/mlbcolors/data.json. See it in use on ObservableHQ at @palewire/the-official-color-of-every-team-in-major-league-baseball