1.0.0 • Published 7 years ago

oq-color-name-hex v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

oq-color-name-decimal

A JSON with color names and it’s values.返回颜色名和对应十六进制值的json数据

数据来源于Based on http://dev.w3.org/csswg/css-color/#named-colors.(Based on http://dev.w3.org/csswg/css-color/#named-colors.)

INSTALL

$ npm install --save oq-color-name-hex

USAGE

var colors = require('oq-color-name-hex');
colors.olivedrab //'#6b8e23'
colors.darkblue //'#00008b'
colors.redss // undefined -->redss doesn't exist;

License

MIT

AUTHORS

This project belongs to OpenQuest---A open organization concentrates on reading excellent codes from npm.org and github.com and commenting them so that everyone can understand easily. You can check the index_comment.js to get the source comments. For more information, linking to https://github.com/OpenQuest.