mlbcolors

Easy access to the official colors of every team in Major League Baseball. Based on jimniels/teamcolors.

Usage no npm install needed!

<script type="module">
  import mlbcolors from 'https://cdn.skypack.dev/mlbcolors';
</script>

README

mlbcolors

Easy access to the official colors of every team in Major League Baseball. Based on jimniels/teamcolors.

Installation

$ pip install mlbcolors

Usage

>>> import mlbcolors
>>> mlbcolors.get("CHC")
['#CC3433', '#0E3386']