color-lib
A library for all colors.
Last updated 4 years ago by kchan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install color-lib 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.2.0                                ...           latest (4 years ago)

2 Versions

  • 0.2.0                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (0)
None
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |