{"_id":"rgb","_rev":"10-e0106c52c86988e1e40d8a836395c6f6","name":"rgb","description":"converts all sorts of colors to rgb format.","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.0":{"name":"rgb","version":"0.0.0","description":"ERROR: No README.md file found!","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":"","author":{"name":"kamicane","email":"kamicane@mad4milk.net"},"license":"MIT","_id":"rgb@0.0.0","dist":{"shasum":"e0a05bcdbdf1d06de3fe83d2c5d28395bbccaeae","tarball":"https://registry.npmjs.org/rgb/-/rgb-0.0.0.tgz","integrity":"sha512-87iU2Z2zYmtD3v/Jykuv1I6fRaDGxDa3be3Xk0FnossGAeYz29Oy8BkvlT8sv/UCm3Jw7SV4FzlDgTJdjcMEOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGEQRBXBAAUEv49TrUEsrQn/NHVWaIZLsFSINR72cYNEAiAIWSNV/Ug1iwF6v8/mjf9CtD2Crehmc7aLsXNF0hvIhA=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"kamicane","email":"kamicane@gmail.com"},"maintainers":[{"name":"kamicane","email":"kamicane@gmail.com"}]},"0.0.1":{"name":"rgb","version":"0.0.1","description":"converts all sorts of colors to rgb format.","main":"index.js","repository":{"type":"git","url":"https://github.com/kamicane/rgb"},"keywords":["rgb","hsl","hex","color","conversion"],"author":{"name":"Valerio Proietti","email":"@kamicane","url":"http://mad4milk.net"},"license":"MIT (http://mootools.net/license.txt)","_id":"rgb@0.0.1","dist":{"shasum":"19dfcc8d1a1443633d54972338c1d5815b556c09","tarball":"https://registry.npmjs.org/rgb/-/rgb-0.0.1.tgz","integrity":"sha512-hwBR0ttDW/I7cWimiyuK1bfQLy5YVzyiJ3zpv/BbCH4DvU2PboH/gkXjTs51WA6f4UKVkIZnyBmoo/RRcToQEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+WOY6b5QcyC3EUTJ5aiuFGk5bebFF6KIXA5u83D7AbQIhALKulY65MJS+WmAVk1mc0eq7M3CXVaLZuNN4Oh/Bq0hW"}]},"_from":".","_npmVersion":"1.2.15","_npmUser":{"name":"kamicane","email":"kamicane@gmail.com"},"maintainers":[{"name":"kamicane","email":"kamicane@gmail.com"}]},"0.1.0":{"name":"rgb","version":"0.1.0","description":"converts all sorts of colors to rgb format.","main":"./index.js","bin":{"rgb":"./bin/rgb"},"repository":{"type":"git","url":"https://github.com/kamicane/rgb"},"keywords":["rgb","hsl","hex","color","conversion"],"author":{"name":"Valerio Proietti","email":"@kamicane","url":"http://mad4milk.net"},"license":"MIT (http://mootools.net/license.txt)","bugs":{"url":"https://github.com/kamicane/rgb/issues"},"homepage":"https://github.com/kamicane/rgb","_id":"rgb@0.1.0","dist":{"shasum":"be27b291e8feffeac1bd99729721bfa40fc037b5","tarball":"https://registry.npmjs.org/rgb/-/rgb-0.1.0.tgz","integrity":"sha512-F49dXX73a92N09uQkfCp2QjwXpmJcn9/i9PvjmwsSIXUGqRLCf/yx5Q9gRxuLQTq248kakqQuc8GX/U/CxSqlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIELcY9517E7gby8BKjDlxnQpAFR48tLEl5gau16hyVncAiEAoE/oPuIu2VQhdyUrUxzOBUkENGgHiRucNDhkE5AoQXQ="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"kamicane","email":"kamicane@gmail.com"},"maintainers":[{"name":"kamicane","email":"kamicane@gmail.com"}]}},"readme":"rgb\n===\n\nconverts all sorts of colors to rgb format\n\nbasic usage\n-----------\n\n```js\nvar color = require(\"rgb\")\n\ncolor(\"hsl(50, 50, 50)\") //'rgb(191,170,64)'\ncolor(\"#000\") //'rgb(0,0,0)'\ncolor(\"hsl(50, 50, 50, 0.5)\") //'rgba(191,170,64,0.5)'\ncolor(\"maroon\") //'rgb(128,0,0)'\ncolor(\"#ff330033\") //'rgba(255,51,0,0.2)'\n```\n\nmatches\n-------\n\n```js\nvar color = require(\"rgb\")\n\ncolor.matches(\"#ff330033\") //true\n```\n\nreplace\n-------\n\n```js\nvar color = require(\"rgb\")\n\ncolor.replace(\"the color is #ff330033\") //'the color is rgba(255,51,0,0.2)'\n\ncolor.replace(\"the color is #ff330033\", function(match){\n    return color(match)\n}) //'the color is rgba(255,51,0,0.2)'\n```\n","maintainers":[{"name":"kamicane","email":"kamicane@gmail.com"}],"time":{"modified":"2022-06-26T13:07:04.169Z","created":"2013-06-03T13:03:28.711Z","0.0.0":"2013-06-03T13:03:31.776Z","0.0.1":"2013-06-07T12:25:06.260Z","0.1.0":"2014-05-01T14:14:20.578Z"},"author":{"name":"Valerio Proietti","email":"@kamicane","url":"http://mad4milk.net"},"repository":{"type":"git","url":"https://github.com/kamicane/rgb"},"homepage":"https://github.com/kamicane/rgb","keywords":["rgb","hsl","hex","color","conversion"],"bugs":{"url":"https://github.com/kamicane/rgb/issues"},"license":"MIT (http://mootools.net/license.txt)","readmeFilename":"README.md","users":{"shuoshubao":true}}