{"name":"colornames","version":"1.0.1","description":"Map color names to HEX color values.","main":"index.js","directories":{"example":"example"},"scripts":{"test":"node test.js"},"repository":{"type":"git","url":"git://github.com/timoxley/colornames.git"},"author":{"name":"Tim Oxley"},"license":"MIT","keywords":["color","colour","names","css","hex","rgb","convert"],"bugs":{"url":"https://github.com/timoxley/colornames/issues"},"devDependencies":{"tape":"^4.4.0"},"homepage":"https://github.com/timoxley/colornames#readme","gitHead":"51b90b5346ff3863eb9a68a743ad1e4a5f7199c0","_id":"colornames@1.0.1","_shasum":"34c391023e4b10b0386f4d1830185acc0ee2f473","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"timoxley","email":"secoif@gmail.com"}],"dist":{"shasum":"34c391023e4b10b0386f4d1830185acc0ee2f473","tarball":"http://registry-npm.ywwl.com/colornames/download/colornames-1.0.1.tgz","integrity":"sha512-GB5OdaTNUTkZMkUO4WmGGZa6mf+sjKVjuG1cv/qQH2U8bzaLN5C4kX1Q94noNJ1xu0HG6fNyLdIKpa1mlaU5vA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEZ/YefLhZugyqIIg8JFXZQ0uB520pHRCYt9w/obEGd7AiEAwGcaW503objxlGLR7LMtw+QiRqN/pyiKy4XgJQ+dGRU="}],"size":9104,"noattachment":false,"key":"/colornames/-/colornames-1.0.1.tgz"},"readme":"# colornames\n\nConvert color names to HEX color values.\n\n[![NPM](https://nodei.co/npm/colornames.png)](https://nodei.co/npm/colornames/)\n\n[![Build Status](https://travis-ci.org/timoxley/colornames.png?branch=master)](https://travis-ci.org/timoxley/colornames)\n[![Dependency Status](https://david-dm.org/timoxley/colornames.png)](https://david-dm.org/timoxley/colornames)\n\n\n\n## Installation\n\n### Component\n    $ component install timoxley/colornames\n\n### Node/Browserify\n    $ npm install colornames\n\n## Example\n\n```js\nvar toHex = require('colornames')\n```\n\n### VGA color names\n```js\ntoHex('red') // => \"#FF0000\"\ntoHex('blue') // => \"#0000FF\"\n```\n\n### CSS color names\n```js\ntoHex('lightsalmon') // => \"#FFA07A\"\ntoHex('mediumvioletred') // => \"#C71585\"\n```\n\n### Get meta data about a color\n```js\ntoHex.get('red')\n// =>\n{\n  name: \"red\",\n  css: true,\n  value: \"#FF0000\",\n  vga: true\n}\n```\n\n### Conversion is case-insensitive\n```js\ntoHex('Blue') // => \"#0000FF\"\ntoHex('BLUE') // => \"#0000FF\"\ntoHex('BlUe') // => \"#0000FF\"\n```\n\n## API\n\n### colornames(name)\nGet HEX code for a color name, or `undefined` if unknown.\n\n### .get(name)\nAll known data about color, including whether valid VGA or CSS color\nname.\n\n### .get.vga(name)\nHEX code for a color name, only if the color is a valid VGA color\nname.\n\n### .get.css(name)\nHEX code for a color name, only if the color is a valid CSS color\nname.\n\n###.all()\nGet all color names data.\n\n## License\n\n  MIT\n\n## Complete Color Map\n\n![example-color-table-](https://f.cloud.github.com/assets/43438/643981/f57948a0-d381-11e2-99fd-197c44065564.png)\n","publish_time":1451383855245,"_cnpm_publish_time":1451383855245,"dist-tags":{"latest":"1.1.1"}}