haojianlong d7cf0f08e0 'init' 5 years ago
..
.eslintrc.json d7cf0f08e0 'init' 5 years ago
.npmignore d7cf0f08e0 'init' 5 years ago
LICENSE d7cf0f08e0 'init' 5 years ago
README.md d7cf0f08e0 'init' 5 years ago
index.js d7cf0f08e0 'init' 5 years ago
package.json d7cf0f08e0 'init' 5 years ago
test.js d7cf0f08e0 'init' 5 years ago

README.md

A JSON with color names and its values. Based on http://dev.w3.org/csswg/css-color/#named-colors.

NPM

var colors = require('color-name');
colors.red //[255,0,0]