Miss any of our Open RFC calls?Watch the recordings here! »

@nhl/colors

0.0.2 • Public • Published

NHL Team Colors

List of colors for teams currently active in the NHL

Install

npm install @nhl/colors
# OR 
yarn add @nhl/colors

Usage

The teams are named exports of the team name, spaces removed, lowercase only

Only the primary and secondary array index 0 & 1 are guaranteed. Some teams have more colors on their palette than others.

import { sharks } from "@nhl/colors"
 
const [primary, secondary, tertiary] = sharks
 
console.log(primary, secondary, tertiary)
// Prints: #006D75 #EA7200 #000000

License

Licensed under the MIT License

NHL and the NHL Shield are registered trademarks of the National Hockey League. NHL and NHL team marks are the property of the NHL and its teams. © NHL 2019. All Rights Reserved.

Keywords

none

Install

npm i @nhl/colors

DownloadsWeekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

16.5 kB

Total Files

11

Last publish

Collaborators

  • avatar