{"_id":"rgb2hex","_rev":"469307","name":"rgb2hex","description":"lightweight rgb/rgba to hex parser","dist-tags":{"latest":"0.2.5"},"maintainers":[{"name":"christian-bromann","email":""}],"time":{"modified":"2021-08-05T08:12:38.000Z","created":"2014-04-22T02:51:05.455Z","0.2.5":"2020-12-14T23:17:17.916Z","0.2.4":"2020-12-11T15:10:27.763Z","0.2.3":"2020-11-25T09:04:54.259Z","0.2.2":"2020-11-25T08:54:27.150Z","0.2.1":"2020-11-24T18:32:47.463Z","0.2.0":"2020-05-19T10:05:20.773Z","0.1.10":"2019-11-13T04:13:35.594Z","0.1.9":"2018-07-18T13:28:52.541Z","0.1.8":"2018-07-05T16:53:55.878Z","0.1.7":"2018-07-05T09:51:00.279Z","0.1.6":"2018-07-05T09:41:39.684Z","0.1.5":"2018-07-04T14:05:56.295Z","0.1.4":"2018-06-19T17:53:01.339Z","0.1.3":"2018-06-13T12:24:58.388Z","0.1.2":"2018-06-13T09:54:27.609Z","0.1.1":"2018-05-24T11:54:43.832Z","0.1.0":"2014-04-22T02:51:05.455Z"},"users":{"tg-z":true},"author":{"name":"Christian Bromann","email":"mail@christian-bromann.com"},"repository":{"type":"git","url":"git://github.com/christian-bromann/rgb2hex.git"},"versions":{"0.2.5":{"name":"rgb2hex","version":"0.2.5","description":"lightweight rgb/rgba to hex parser","author":{"name":"Christian Bromann","email":"mail@christian-bromann.com"},"license":"MIT","homepage":"https://github.com/christian-bromann/rgb2hex","main":"index.js","repository":{"type":"git","url":"git://github.com/christian-bromann/rgb2hex.git"},"bugs":{"url":"https://github.com/christian-bromann/rgb2hex/issues"},"scripts":{"test":"jest","cover":"jest --coverage","compile-typescript":"tsc"},"devDependencies":{"jest":"^26.6.3","typescript":"^4.1.2"},"types":"./index.d.ts","keywords":["rgb","rgba","hex","color","parse","parser"],"jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"gitHead":"61dae57a85136c3110d743a45dcac5141d0fe417","_id":"rgb2hex@0.2.5","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"shasum":"f82230cd3ab1364fa73c99be3a691ed688f8dbdc","size":5102,"noattachment":false,"key":"/rgb2hex/-/rgb2hex-0.2.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/rgb2hex/download/rgb2hex-0.2.5.tgz"},"_npmUser":{"name":"christian-bromann","email":"christian@saucelabs.com"},"directories":{},"maintainers":[{"name":"christian-bromann","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rgb2hex_0.2.5_1607987837777_0.11508265817327645"},"_hasShrinkwrap":false,"publish_time":1607987837916,"_cnpm_publish_time":1607987837916},"0.2.4":{"name":"rgb2hex","version":"0.2.4","description":"lightweight rgb/rgba to hex parser","author":{"name":"Christian Bromann","email":"mail@christian-bromann.com"},"license":"MIT","homepage":"https://github.com/christian-bromann/rgb2hex","main":"index.js","repository":{"type":"git","url":"git://github.com/christian-bromann/rgb2hex.git"},"bugs":{"url":"https://github.com/christian-bromann/rgb2hex/issues"},"scripts":{"test":"jest","cover":"jest --coverage","compile-typescript":"tsc"},"devDependencies":{"jest":"^26.6.3","typescript":"^4.1.2"},"types":"./index.d.ts","keywords":["rgb","rgba","hex","color","parse","parser"],"jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"gitHead":"75a39ccbfa1e2e62cec19161679828bbddaab20d","_id":"rgb2hex@0.2.4","_nodeVersion":"14.15.0","_npmVersion":"6.14.8","dist":{"shasum":"2cb57b949ff667d38fcf72eda568a9811a50da27","size":5095,"noattachment":false,"key":"/rgb2hex/-/rgb2hex-0.2.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/rgb2hex/download/rgb2hex-0.2.4.tgz"},"_npmUser":{"name":"christian-bromann","email":"christian@saucelabs.com"},"directories":{},"maintainers":[{"name":"christian-bromann","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rgb2hex_0.2.4_1607699427671_0.4797008829881564"},"_hasShrinkwrap":false,"publish_time":1607699427763,"_cnpm_publish_time":1607699427763},"0.2.3":{"name":"rgb2hex","version":"0.2.3","description":"lightweight rgb/rgba to hex parser","author":{"name":"Christian Bromann","email":"mail@christian-bromann.com"},"license":"MIT","homepage":"https://github.com/christian-bromann/rgb2hex","main":"index.js","repository":{"type":"git","url":"git://github.com/christian-bromann/rgb2hex.git"},"bugs":{"url":"https://github.com/christian-bromann/rgb2hex/issues"},"scripts":{"test":"jest","cover":"jest --coverage"},"devDependencies":{"jest":"^26.6.3"},"types":"./index.d.ts","keywords":["rgb","rgba","hex","color","parse","parser"],"jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"gitHead":"9f27afae3d6a50a475a3d2c04b583c13171f6692","_id":"rgb2hex@0.2.3","_nodeVersion":"12.14.1","_npmVersion":"6.14.5","dist":{"shasum":"8aa464c517b8a26c7a79d767dabaec2b49ee78ec","size":5086,"noattachment":false,"key":"/rgb2hex/-/rgb2hex-0.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/rgb2hex/download/rgb2hex-0.2.3.tgz"},"_npmUser":{"name":"christian-bromann","email":"christian@saucelabs.com"},"directories":{},"maintainers":[{"name":"christian-bromann","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rgb2hex_0.2.3_1606295094148_0.5910854655374946"},"_hasShrinkwrap":false,"publish_time":1606295094259,"_cnpm_publish_time":1606295094259},"0.2.2":{"name":"rgb2hex","version":"0.2.2","description":"lightweight rgb/rgba to hex parser","author":{"name":"Christian Bromann","email":"mail@christian-bromann.com"},"license":"MIT","homepage":"https://github.com/christian-bromann/rgb2hex","main":"index.js","repository":{"type":"git","url":"git://github.com/christian-bromann/rgb2hex.git"},"bugs":{"url":"https://github.com/christian-bromann/rgb2hex/issues"},"scripts":{"test":"jest","cover":"jest --coverage"},"devDependencies":{"jest":"^26.6.3"},"types":"./index.d.ts","keywords":["rgb","rgba","hex","color","parse","parser"],"jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"gitHead":"b80c05a889cb0c1a937eab79ef396d7afe5b99a2","_id":"rgb2hex@0.2.2","_nodeVersion":"12.14.1","_npmVersion":"6.14.5","dist":{"shasum":"f407018b5dbb33bfed12eba1a0faaa7c56c7ea89","size":5097,"noattachment":false,"key":"/rgb2hex/-/rgb2hex-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/rgb2hex/download/rgb2hex-0.2.2.tgz"},"_npmUser":{"name":"christian-bromann","email":"christian@saucelabs.com"},"directories":{},"maintainers":[{"name":"christian-bromann","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rgb2hex_0.2.2_1606294467033_0.6024717419837866"},"_hasShrinkwrap":false,"publish_time":1606294467150,"_cnpm_publish_time":1606294467150},"0.2.1":{"name":"rgb2hex","version":"0.2.1","description":"lightweight rgb/rgba to hex parser","author":{"name":"Christian Bromann","email":"mail@christian-bromann.com"},"license":"MIT","homepage":"https://github.com/christian-bromann/rgb2hex","main":"index.js","repository":{"type":"git","url":"git://github.com/christian-bromann/rgb2hex.git"},"bugs":{"url":"https://github.com/christian-bromann/rgb2hex/issues"},"scripts":{"test":"jest","cover":"jest --coverage"},"devDependencies":{"jest":"^26.6.3"},"types":"./index.d.ts","keywords":["rgb","rgba","hex","color","parse","parser"],"jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"gitHead":"137ccd0863b3e5b8308204e199896e3f7e1c01b8","_id":"rgb2hex@0.2.1","_nodeVersion":"12.14.1","_npmVersion":"6.14.5","dist":{"shasum":"f35889d5bc60bb14b3acc06de8735694a8740916","size":5071,"noattachment":false,"key":"/rgb2hex/-/rgb2hex-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rgb2hex/download/rgb2hex-0.2.1.tgz"},"_npmUser":{"name":"christian-bromann","email":"christian@saucelabs.com"},"directories":{},"maintainers":[{"name":"christian-bromann","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rgb2hex_0.2.1_1606242767313_0.6973871045682596"},"_hasShrinkwrap":false,"publish_time":1606242767463,"_cnpm_publish_time":1606242767463},"0.2.0":{"name":"rgb2hex","version":"0.2.0","description":"lightweight rgb/rgba to hex parser","author":{"name":"Christian Bromann","email":"mail@christian-bromann.com"},"license":"MIT","homepage":"https://github.com/christian-bromann/rgb2hex","main":"index.js","repository":{"type":"git","url":"git://github.com/christian-bromann/rgb2hex.git"},"bugs":{"url":"https://github.com/christian-bromann/rgb2hex/issues"},"scripts":{"test":"jest","cover":"jest --coverage"},"devDependencies":{"coveralls":"^3.1.0","jest":"^26.0.1"},"keywords":["rgb","rgba","hex","color","parse","parser"],"jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"gitHead":"429523e9eda4884794d5bfce6cd7e132cacacbd1","_id":"rgb2hex@0.2.0","_nodeVersion":"12.14.1","_npmVersion":"6.13.4","dist":{"shasum":"801b4887127181d1e691f610df2cecdb77330265","size":4898,"noattachment":false,"key":"/rgb2hex/-/rgb2hex-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rgb2hex/download/rgb2hex-0.2.0.tgz"},"maintainers":[{"name":"christian-bromann","email":""}],"_npmUser":{"name":"christian-bromann","email":"christian@saucelabs.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rgb2hex_0.2.0_1589882720633_0.5961682353274091"},"_hasShrinkwrap":false,"publish_time":1589882720773,"_cnpm_publish_time":1589882720773},"0.1.10":{"name":"rgb2hex","version":"0.1.10","description":"lightweight rgb/rgba to hex parser","main":"index.js","directories":{"test":"test"},"devDependencies":{"coveralls":"^3.0.1","jest":"^25.0.0"},"scripts":{"test":"jest","cover":"jest --coverage"},"repository":{"type":"git","url":"git://github.com/christian-bromann/rgb2hex.git"},"keywords":["rgb","rgba","hex","color","parse","parser"],"author":{"name":"Christian Bromann","email":"mail@christian-bromann.com"},"license":"MIT","bugs":{"url":"https://github.com/christian-bromann/rgb2hex/issues"},"homepage":"https://github.com/christian-bromann/rgb2hex","jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"gitHead":"7bed47b0ad143addb63a58d240c7f2f14beff8b9","_id":"rgb2hex@0.1.10","_nodeVersion":"10.15.0","_npmVersion":"6.10.3","dist":{"shasum":"4fdd432665273e2d5900434940ceba0a04c8a8a8","size":5221,"noattachment":false,"key":"/rgb2hex/-/rgb2hex-0.1.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/rgb2hex/download/rgb2hex-0.1.10.tgz"},"maintainers":[{"name":"christian-bromann","email":""}],"_npmUser":{"name":"christian-bromann","email":"christian@saucelabs.com"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rgb2hex_0.1.10_1573618415397_0.6888072072124485"},"_hasShrinkwrap":false,"publish_time":1573618415594,"_cnpm_publish_time":1573618415594},"0.1.9":{"name":"rgb2hex","version":"0.1.9","description":"lightweight rgb/rgba to hex parser","main":"index.js","directories":{"test":"test"},"devDependencies":{"coveralls":"^3.0.1","jest":"^22.4.4"},"scripts":{"test":"jest","cover":"jest --coverage"},"repository":{"type":"git","url":"git://github.com/christian-bromann/rgb2hex.git"},"keywords":["rgb","rgba","hex","color","parse","parser"],"author":{"name":"Christian Bromann","email":"mail@christian-bromann.com"},"license":"MIT","bugs":{"url":"https://github.com/christian-bromann/rgb2hex/issues"},"homepage":"https://github.com/christian-bromann/rgb2hex","jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"gitHead":"b42921ff423231a72cdedadd6966befd9c5ed04c","_id":"rgb2hex@0.1.9","_npmVersion":"6.1.0","_nodeVersion":"8.11.2","_npmUser":{"name":"christian-bromann","email":"christian@saucelabs.com"},"dist":{"shasum":"5d3e0e14b0177b568e6f0d5b43e34fbfdb670346","size":5178,"noattachment":false,"key":"/rgb2hex/-/rgb2hex-0.1.9.tgz","tarball":"http://registry.cnpm.dingdandao.com/rgb2hex/download/rgb2hex-0.1.9.tgz"},"maintainers":[{"name":"christian-bromann","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rgb2hex_0.1.9_1531920532488_0.9385445914005399"},"_hasShrinkwrap":false,"publish_time":1531920532541,"_cnpm_publish_time":1531920532541},"0.1.8":{"name":"rgb2hex","version":"0.1.8","description":"lightweight rgb/rgba to hex parser","main":"index.js","directories":{"test":"test"},"devDependencies":{"coveralls":"^3.0.1","jest":"^22.4.4"},"scripts":{"test":"jest","cover":"jest --coverage"},"repository":{"type":"git","url":"git://github.com/christian-bromann/rgb2hex.git"},"keywords":["rgb","rgba","hex","color","parse","parser"],"author":{"name":"Christian Bromann","email":"mail@christian-bromann.com"},"license":"MIT","bugs":{"url":"https://github.com/christian-bromann/rgb2hex/issues"},"homepage":"https://github.com/christian-bromann/rgb2hex","jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"gitHead":"60f4d006e62432fcf3952dfd9abb59d179ea372f","_id":"rgb2hex@0.1.8","_npmVersion":"6.1.0","_nodeVersion":"8.11.2","_npmUser":{"name":"christian-bromann","email":"christian@saucelabs.com"},"dist":{"shasum":"c0daf2427b7e9d1cc017143f2ca2b69c4fa93c7d","size":5130,"noattachment":false,"key":"/rgb2hex/-/rgb2hex-0.1.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/rgb2hex/download/rgb2hex-0.1.8.tgz"},"maintainers":[{"name":"christian-bromann","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rgb2hex_0.1.8_1530809635805_0.12827042436234248"},"_hasShrinkwrap":false,"publish_time":1530809635878,"_cnpm_publish_time":1530809635878},"0.1.7":{"name":"rgb2hex","version":"0.1.7","description":"lightweight rgb/rgba to hex parser","main":"index.js","directories":{"test":"test"},"devDependencies":{"coveralls":"^3.0.1","jest":"^22.4.4"},"scripts":{"test":"jest","cover":"jest --coverage"},"repository":{"type":"git","url":"git://github.com/christian-bromann/rgb2hex.git"},"keywords":["rgb","rgba","hex","color","parse","parser"],"author":{"name":"Christian Bromann","email":"mail@christian-bromann.com"},"license":"MIT","bugs":{"url":"https://github.com/christian-bromann/rgb2hex/issues"},"homepage":"https://github.com/christian-bromann/rgb2hex","jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"gitHead":"620e4b35fff89dfde6dcf2c09367db21586feddb","_id":"rgb2hex@0.1.7","_npmVersion":"6.1.0","_nodeVersion":"8.11.2","_npmUser":{"name":"christian-bromann","email":"christian@saucelabs.com"},"dist":{"shasum":"ac46018bb35e747075b137a32f382bac54a88794","size":5058,"noattachment":false,"key":"/rgb2hex/-/rgb2hex-0.1.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/rgb2hex/download/rgb2hex-0.1.7.tgz"},"maintainers":[{"name":"christian-bromann","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rgb2hex_0.1.7_1530784260006_0.8182724351830291"},"_hasShrinkwrap":false,"publish_time":1530784260279,"_cnpm_publish_time":1530784260279},"0.1.6":{"name":"rgb2hex","version":"0.1.6","description":"lightweight rgb/rgba to hex parser","main":"index.js","directories":{"test":"test"},"devDependencies":{"coveralls":"^3.0.1","jest":"^22.4.4"},"scripts":{"test":"jest","cover":"jest --coverage"},"repository":{"type":"git","url":"git://github.com/christian-bromann/rgb2hex.git"},"keywords":["rgb","rgba","hex","color","parse","parser"],"author":{"name":"Christian Bromann","email":"mail@christian-bromann.com"},"license":"MIT","bugs":{"url":"https://github.com/christian-bromann/rgb2hex/issues"},"homepage":"https://github.com/christian-bromann/rgb2hex","jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"gitHead":"8f2a32ec73e603f734a3c93ff50a9c6c3952d8ed","_id":"rgb2hex@0.1.6","_npmVersion":"6.1.0","_nodeVersion":"8.11.2","_npmUser":{"name":"christian-bromann","email":"christian@saucelabs.com"},"dist":{"shasum":"3a9e0abf0545e6e27ad8664162559f475ecffc19","size":5047,"noattachment":false,"key":"/rgb2hex/-/rgb2hex-0.1.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/rgb2hex/download/rgb2hex-0.1.6.tgz"},"maintainers":[{"name":"christian-bromann","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rgb2hex_0.1.6_1530783699580_0.22412860747132557"},"_hasShrinkwrap":false,"publish_time":1530783699684,"_cnpm_publish_time":1530783699684},"0.1.5":{"name":"rgb2hex","version":"0.1.5","description":"lightweight rgb/rgba to hex parser","main":"index.js","directories":{"test":"test"},"devDependencies":{"coveralls":"^3.0.1","jest":"^22.4.4"},"scripts":{"test":"jest","cover":"jest --coverage"},"repository":{"type":"git","url":"git://github.com/christian-bromann/rgb2hex.git"},"keywords":["rgb","rgba","hex","color","parse","parser"],"author":{"name":"Christian Bromann","email":"mail@christian-bromann.com"},"license":"MIT","bugs":{"url":"https://github.com/christian-bromann/rgb2hex/issues"},"homepage":"https://github.com/christian-bromann/rgb2hex","jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"gitHead":"e4e0c7c38f4bc8f4660da493acf69fcf92c65c56","_id":"rgb2hex@0.1.5","_npmVersion":"6.1.0","_nodeVersion":"8.11.2","_npmUser":{"name":"christian-bromann","email":"christian@saucelabs.com"},"dist":{"shasum":"e5e204eee72fa7dd06f74135d01993c7b957d387","size":4940,"noattachment":false,"key":"/rgb2hex/-/rgb2hex-0.1.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/rgb2hex/download/rgb2hex-0.1.5.tgz"},"maintainers":[{"name":"christian-bromann","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rgb2hex_0.1.5_1530713156162_0.4764417609113274"},"_hasShrinkwrap":false,"publish_time":1530713156295,"_cnpm_publish_time":1530713156295},"0.1.4":{"name":"rgb2hex","version":"0.1.4","description":"lightweight rgb/rgba to hex parser","main":"index.js","directories":{"test":"test"},"devDependencies":{"coveralls":"^3.0.1","jest":"^22.4.4"},"scripts":{"test":"jest","cover":"jest --coverage"},"repository":{"type":"git","url":"git://github.com/christian-bromann/rgb2hex.git"},"keywords":["rgb","rgba","hex","color","parse","parser"],"author":{"name":"Christian Bromann","email":"mail@christian-bromann.com"},"license":"MIT","bugs":{"url":"https://github.com/christian-bromann/rgb2hex/issues"},"homepage":"https://github.com/christian-bromann/rgb2hex","jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"gitHead":"9f02837bef5609f45b5d7dbea8137ec82d5caa5d","_id":"rgb2hex@0.1.4","_npmVersion":"6.1.0","_nodeVersion":"8.11.2","_npmUser":{"name":"christian-bromann","email":"christian@saucelabs.com"},"dist":{"shasum":"df54571d5b07a1d73e777447f0c8d17b409e3ea3","size":4843,"noattachment":false,"key":"/rgb2hex/-/rgb2hex-0.1.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/rgb2hex/download/rgb2hex-0.1.4.tgz"},"maintainers":[{"name":"christian-bromann","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rgb2hex_0.1.4_1529430781286_0.506505394421819"},"_hasShrinkwrap":false,"publish_time":1529430781339,"_cnpm_publish_time":1529430781339},"0.1.3":{"name":"rgb2hex","version":"0.1.3","description":"lightweight rgb/rgba to hex parser","main":"index.js","directories":{"test":"test"},"devDependencies":{"coveralls":"^3.0.1","jest":"^22.4.4"},"scripts":{"test":"jest","cover":"jest --coverage"},"repository":{"type":"git","url":"git://github.com/christian-bromann/rgb2hex.git"},"keywords":["rgb","rgba","hex","color","parse","parser"],"author":{"name":"Christian Bromann","email":"mail@christian-bromann.com"},"license":"MIT","bugs":{"url":"https://github.com/christian-bromann/rgb2hex/issues"},"homepage":"https://github.com/christian-bromann/rgb2hex","jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"gitHead":"1f34374e4d302c1c20a752783482313ae1f5249e","_id":"rgb2hex@0.1.3","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"christian-bromann","email":"christian@saucelabs.com"},"dist":{"shasum":"0d7dae754ab9ef98845e4f9d52ab3f7dd88c0501","size":4693,"noattachment":false,"key":"/rgb2hex/-/rgb2hex-0.1.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/rgb2hex/download/rgb2hex-0.1.3.tgz"},"maintainers":[{"name":"christian-bromann","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rgb2hex_0.1.3_1528892698321_0.1770077465360156"},"_hasShrinkwrap":false,"publish_time":1528892698388,"_cnpm_publish_time":1528892698388},"0.1.2":{"name":"rgb2hex","version":"0.1.2","description":"lightweight rgb/rgba to hex parser","main":"index.js","directories":{"test":"test"},"devDependencies":{"coveralls":"^3.0.1","jest":"^22.4.4"},"scripts":{"test":"jest","cover":"jest --coverage"},"repository":{"type":"git","url":"git://github.com/christian-bromann/rgb2hex.git"},"keywords":["rgb","rgba","hex","color","parse","parser"],"author":{"name":"Christian Bromann","email":"mail@christian-bromann.com"},"license":"MIT","bugs":{"url":"https://github.com/christian-bromann/rgb2hex/issues"},"homepage":"https://github.com/christian-bromann/rgb2hex","jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"gitHead":"6c4dcc59b7734daf33f4192f15e52b596a00b03f","_id":"rgb2hex@0.1.2","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"christian-bromann","email":"christian@saucelabs.com"},"dist":{"shasum":"c8bb767fe896c621bf331adb5a8162affffc1c45","size":4607,"noattachment":false,"key":"/rgb2hex/-/rgb2hex-0.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/rgb2hex/download/rgb2hex-0.1.2.tgz"},"maintainers":[{"name":"christian-bromann","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rgb2hex_0.1.2_1528883667498_0.5454272293841238"},"_hasShrinkwrap":false,"publish_time":1528883667609,"_cnpm_publish_time":1528883667609},"0.1.1":{"name":"rgb2hex","version":"0.1.1","description":"lightweight rgb/rgba to hex parser","main":"index.js","directories":{"test":"test"},"devDependencies":{"coveralls":"^3.0.1","jest":"^22.4.4"},"scripts":{"test":"jest","cover":"jest --coverage"},"repository":{"type":"git","url":"git://github.com/christian-bromann/rgb2hex.git"},"keywords":["rgb","rgba","hex","color","parse","parser"],"author":{"name":"Christian Bromann","email":"mail@christian-bromann.com"},"license":"MIT","bugs":{"url":"https://github.com/christian-bromann/rgb2hex/issues"},"homepage":"https://github.com/christian-bromann/rgb2hex","jest":{"coverageThreshold":{"global":{"branches":100,"functions":100,"lines":100,"statements":100}}},"gitHead":"9f4200894856ef120f3bf0b77261b581975bd16a","_id":"rgb2hex@0.1.1","_npmVersion":"6.0.1","_nodeVersion":"8.2.1","_npmUser":{"name":"christian-bromann","email":"christian@saucelabs.com"},"dist":{"shasum":"81abc922b60e9087a42c3e1ce20bf62d2359e400","size":4436,"noattachment":false,"key":"/rgb2hex/-/rgb2hex-0.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rgb2hex/download/rgb2hex-0.1.1.tgz"},"maintainers":[{"name":"christian-bromann","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rgb2hex_0.1.1_1527162883393_0.31902644774640954"},"_hasShrinkwrap":false,"publish_time":1527162883832,"_cnpm_publish_time":1527162883832},"0.1.0":{"name":"rgb2hex","version":"0.1.0","description":"lightweight rgb/rgba to hex parser","main":"index.js","directories":{"test":"test"},"devDependencies":{"coveralls":"^2.10.0","istanbul":"^0.2.7","mocha":"^1.18.2","should":"^3.3.1","zuul":"^1.6.3"},"scripts":{"test":"./node_modules/mocha/bin/_mocha","travis":"zuul test/rgb2hex.spec.js","cover":"istanbul cover ./node_modules/.bin/_mocha --print -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"},"repository":{"type":"git","url":"git://github.com/christian-bromann/rgb2hex.git"},"keywords":["rgb","rgba","hex","color","parse","parser"],"author":{"name":"Christian Bromann","email":"mail@christian-bromann.com"},"license":"MIT","bugs":{"url":"https://github.com/christian-bromann/rgb2hex/issues"},"homepage":"https://github.com/christian-bromann/rgb2hex","_id":"rgb2hex@0.1.0","_shasum":"ccd55f860ae0c5c4ea37504b958e442d8d12325b","_from":".","_npmVersion":"1.4.7","_npmUser":{"name":"christian-bromann","email":"contact@christian-bromann.com"},"maintainers":[{"name":"christian-bromann","email":""}],"dist":{"shasum":"ccd55f860ae0c5c4ea37504b958e442d8d12325b","size":5019,"noattachment":false,"key":"/rgb2hex/-/rgb2hex-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rgb2hex/download/rgb2hex-0.1.0.tgz"},"publish_time":1398135065455,"_cnpm_publish_time":1398135065455,"_hasShrinkwrap":false}},"readme":"rgb2hex ![Test Changes](https://github.com/christian-bromann/rgb2hex/workflows/Test%20Changes/badge.svg) [![Known Vulnerabilities](https://snyk.io/test/github/christian-bromann/rgb2hex/badge.svg?targetFile=package.json)](https://snyk.io/test/github/christian-bromann/rgb2hex?targetFile=package.json)\n=======\n\nParse any rgb or rgba string into a hex color. Lightweight library, no dependencies!\n\n## Installation\n\nvia NPM:\n```\n$ npm install rgb2hex\n```\n\nvia Bower\n```\n$ bower install rgb2hex\n```\n\n## Usage\n\nInclude `rgb2hex.js` in your web app, by loading it as usual:\n\n```html\n<script src=\"rgb2hex.js\"></script>\n```\n\n### Using NodeJS\n\n```js\nvar rgb2hex = require('rgb2hex');\n\nconsole.log(rgb2hex('rgb(210,43,2525)'));\n/**\n * returns:\n * {\n *    hex: '#d22bff',\n *    alpha: 1\n * }\n */\n\nconsole.log(rgb2hex('rgba(12,173,22,.67)'));\n/**\n * returns:\n * {\n *    hex: '#d22bff',\n *    alpha: 0.67\n * }\n */\n```\n\n### Using RequireJS\n\nrgb2hex can be also loaded with AMD:\n\n```js\nrequire(['rgb2hex'], function (rgb2hex) {\n    // ...\n});\n```\n\n## Contributing\nPlease fork, add specs, and send pull requests! In lieu of a formal styleguide, take care to\nmaintain the existing coding style.\n\n## Release History\n* 2013-04-22   v0.1.0   first working version\n* 2018-05-24   v0.1.1   updated dependencies switch test framework to jest\n* 2018-06-13   v0.1.2   Fixes uncontrolled resource consumption vulnerability referenced in #1. ([ref1](https://nodesecurity.io/advisories/647), [ref2](https://snyk.io/vuln/npm:rgb2hex:20180429))\n* 2018-06-13   v0.1.3   allow semicolon at the end of an rgb string\n* 2018-06-19   v0.1.4   ignore text before or after the color\n* 2018-07-04   v0.1.5   Fix stripping of color and regexp\n* 2018-07-05   v0.1.6   Prevent Regular Expression Denial of Service attacks\n* 2018-07-05   v0.1.7   Minor coverage fix\n* 2018-07-05   v0.1.8   Better handle alpha values\n* 2018-07-18   v0.1.9   Support transparent colors\n* 2019-11-11   v0.1.10  Support multiple decimal places [(#20)](https://github.com/christian-bromann/rgb2hex/pull/20)\n* 2020-11-24   v0.2.1   TypeScript support\n* 2020-11-25   v0.2.5   Improved TypeScript support","_attachments":{},"homepage":"https://github.com/christian-bromann/rgb2hex","bugs":{"url":"https://github.com/christian-bromann/rgb2hex/issues"},"license":"MIT"}