{"_id":"colornames","_rev":"117025","name":"colornames","description":"Map color names to HEX color values.","dist-tags":{"latest":"1.1.1"},"maintainers":[{"name":"timoxley","email":""}],"time":{"modified":"2021-06-03T10:50:15.000Z","created":"2013-07-30T18:40:16.333Z","1.1.1":"2016-01-24T14:10:46.229Z","1.1.0":"2016-01-24T14:08:32.533Z","1.0.1":"2015-12-29T10:10:55.245Z","1.0.0":"2015-12-28T14:30:38.921Z","0.0.2":"2013-07-30T18:40:42.659Z","0.0.0":"2013-07-30T18:40:16.333Z"},"users":{"jay.":true,"moimikey":true},"author":{"name":"Tim Oxley"},"repository":{"type":"git","url":"git://github.com/timoxley/colornames.git"},"versions":{"1.1.1":{"name":"colornames","version":"1.1.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":"662228bef287f64714fc251b7421c29f9e324584","_id":"colornames@1.1.1","_shasum":"f8889030685c7c4ff9e2a559f5077eb76a816f96","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"timoxley","email":""}],"dist":{"shasum":"f8889030685c7c4ff9e2a559f5077eb76a816f96","size":9181,"noattachment":false,"key":"/colornames/-/colornames-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/colornames/download/colornames-1.1.1.tgz"},"publish_time":1453644646229,"_cnpm_publish_time":1453644646229,"_hasShrinkwrap":false},"1.1.0":{"name":"colornames","version":"1.1.0","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":"05cebeca3d930b112da6db103c8c068db9e0bd62","_id":"colornames@1.1.0","_shasum":"5400771aee0ce70c61296edb928b0bf15cfc6519","_from":".","_npmVersion":"2.14.12","_nodeVersion":"4.2.4","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"timoxley","email":""}],"dist":{"shasum":"5400771aee0ce70c61296edb928b0bf15cfc6519","size":9193,"noattachment":false,"key":"/colornames/-/colornames-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/colornames/download/colornames-1.1.0.tgz"},"publish_time":1453644512533,"_cnpm_publish_time":1453644512533,"_hasShrinkwrap":false},"1.0.1":{"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":""}],"dist":{"shasum":"34c391023e4b10b0386f4d1830185acc0ee2f473","size":9104,"noattachment":false,"key":"/colornames/-/colornames-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/colornames/download/colornames-1.0.1.tgz"},"publish_time":1451383855245,"_cnpm_publish_time":1451383855245,"_hasShrinkwrap":false},"1.0.0":{"name":"colornames","version":"1.0.0","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","dependencies":{"tape":"^1.0.4"},"gitHead":"a9dbf2cc25d016102024fdaec6e72863d4bf193f","_id":"colornames@1.0.0","_shasum":"7af829414660b3c039454d4f69a08a4272869b68","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.3","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"timoxley","email":""}],"dist":{"shasum":"7af829414660b3c039454d4f69a08a4272869b68","size":8388,"noattachment":false,"key":"/colornames/-/colornames-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/colornames/download/colornames-1.0.0.tgz"},"publish_time":1451313038921,"_cnpm_publish_time":1451313038921,"deprecated":"colornames@1.0.0 has an unneeded dependency on tape. Update to ^1.0.1.","_hasShrinkwrap":false},"0.0.2":{"name":"colornames","version":"0.0.2","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","bugs":{"url":"https://github.com/timoxley/colornames/issues"},"devDependencies":{"tape":"~1.0.4"},"readmeFilename":"Readme.md","_id":"colornames@0.0.2","dist":{"shasum":"d811fd6c84f59029499a8ac4436202935b92be31","size":8289,"noattachment":false,"key":"/colornames/-/colornames-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/colornames/download/colornames-0.0.2.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"timoxley","email":""}],"publish_time":1375209642659,"_cnpm_publish_time":1375209642659,"_hasShrinkwrap":false},"0.0.0":{"name":"colornames","version":"0.0.0","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","bugs":{"url":"https://github.com/timoxley/colornames/issues"},"devDependencies":{"tape":"~1.0.4"},"readmeFilename":"Readme.md","_id":"colornames@0.0.0","dist":{"shasum":"9731f93332af92a4c363017b588369073a89f9dd","size":8286,"noattachment":false,"key":"/colornames/-/colornames-0.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/colornames/download/colornames-0.0.0.tgz"},"_from":".","_npmVersion":"1.3.2","_npmUser":{"name":"timoxley","email":"secoif@gmail.com"},"maintainers":[{"name":"timoxley","email":""}],"publish_time":1375209616333,"_cnpm_publish_time":1375209616333,"_hasShrinkwrap":false}},"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","_attachments":{},"homepage":"https://github.com/timoxley/colornames#readme","bugs":{"url":"https://github.com/timoxley/colornames/issues"},"license":"MIT"}