oq-color-name-hex

1.0.0 • Public • Published

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.

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    2

Package Sidebar

Install

npm i oq-color-name-hex

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • lingshanjun