{"_id":"css-color-keywords","_rev":"262831","name":"css-color-keywords","description":"A list of all CSS color keywords.","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"sonicdoe","email":"jakob@krigovsky.com"}],"time":{"modified":"2021-06-03T16:56:35.000Z","created":"2017-01-20T17:28:45.984Z","1.0.0":"2017-01-20T17:28:45.984Z"},"users":{},"author":{"name":"Jakob Krigovsky","email":"jakob@krigovsky.com"},"repository":{"type":"git","url":"git+https://github.com/sonicdoe/css-color-keywords.git"},"versions":{"1.0.0":{"name":"css-color-keywords","version":"1.0.0","description":"A list of all CSS color keywords.","keywords":["css","color","keywords","list"],"license":"ISC","author":{"name":"Jakob Krigovsky","email":"jakob@krigovsky.com"},"files":["colors.json","index.js"],"repository":{"type":"git","url":"git+https://github.com/sonicdoe/css-color-keywords.git"},"scripts":{"test":"standard && node test.js"},"devDependencies":{"standard":"^8.6.0"},"engines":{"node":">=4"},"gitHead":"e8723175f17d0ee17c59ba9a36968452332b7d84","bugs":{"url":"https://github.com/sonicdoe/css-color-keywords/issues"},"homepage":"https://github.com/sonicdoe/css-color-keywords#readme","_id":"css-color-keywords@1.0.0","_shasum":"fea2616dc676b2962686b3af8dbdbe180b244e05","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"sonicdoe","email":"jakob@krigovsky.com"},"dist":{"shasum":"fea2616dc676b2962686b3af8dbdbe180b244e05","size":2966,"noattachment":false,"key":"/css-color-keywords/-/css-color-keywords-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/css-color-keywords/download/css-color-keywords-1.0.0.tgz"},"maintainers":[{"name":"sonicdoe","email":"jakob@krigovsky.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/css-color-keywords-1.0.0.tgz_1484933324036_0.46627738582901657"},"directories":{},"publish_time":1484933325984,"_cnpm_publish_time":1484933325984,"_hasShrinkwrap":false}},"readme":"# css-color-keywords\n\n> A list of all CSS color keywords.\n\nThis list contains all CSS color keywords specified in:\n\n- [CSS Level 1](https://www.w3.org/TR/CSS1/#color-units)\n- [CSS Level 2 (Revision 1)](https://www.w3.org/TR/CSS2/syndata.html#value-def-color)\n- [CSS Color Module Level 3](https://drafts.csswg.org/css-color-3/#colorunits)\n- [CSS Color Module Level 4](https://drafts.csswg.org/css-color/#named-colors)\n\n[See MDN for an overview of all colors](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Color_keywords).\n\n## Installation\n\n```sh\n$ npm install css-color-keywords --save\n```\n\n## Usage\n\n```js\nconst cssColorKeywords = require('css-color-keywords')\n\ncssColorKeywords.black // #000000\ncssColorKeywords.orange // #ffa500\n```\n\nReturns an object where each key is a keyword (e.g. `black`) and the value is\nthe keyword’s RGB hex value (e.g. `#000000`).\n\nEven though CSS color keywords are case-insensitive, this list only contains\nlowercase keywords (and returns lowercase RGB hex values).\n\n## Changelog\n\nThis project follows [Semantic Versioning 2](http://semver.org/).\n\nThis list aims to always include all CSS color keywords. If new keywords are\nspecified, only the *minor* version will be bumped.\n\n- v1.0.0 (2017-01-20): Initial release\n\n## License\n\n`css-color-keywords` is licensed under the ISC license.\nSee [`LICENSE`](LICENSE) for the full license.\n","_attachments":{},"homepage":"https://github.com/sonicdoe/css-color-keywords#readme","bugs":{"url":"https://github.com/sonicdoe/css-color-keywords/issues"},"license":"ISC"}