Skip to content

A color library which contains all colors in material design.

Notifications You must be signed in to change notification settings

egoist/color-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

color-lib NPM version NPM downloads

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

About

A color library which contains all colors in material design.

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published