color-lib

0.2.0 • Public • Published

color-lib

A color library which contains all colors in material design.

Install

$ npm install --save color-lib

Usage

const color = require('color-lib')
 
color.blue.hex // #2196f3
 
color.orange['500'] // #ff9800
color.deepOrange['a100'] // #ff9e80
 
// note that `black` and `white` only has a hex value
color.black.hex
// no color.black['500'] !!!

For all colors, see Google's color spec. All names are camelCased.

License

MIT © EGOIST

Readme

Keywords

Package Sidebar

Install

npm i color-lib

Weekly Downloads

1

Version

0.2.0

License

MIT

Last publish

Collaborators

  • kchan