oq-color-name-decimal
v1.0.0
Published
A JSON with color names and it’s values.返回颜色名和对应十进制值的json数据
Downloads
7
Maintainers
Readme
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-decimal
USAGE
var colors = require('oq-color-name-decimal');
colors.red //[255,0,0]
colors.darkblue //[0, 0, 139]
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.