{"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":"http://registry-npm.ywwl.com/rgb/download/rgb-0.0.0.tgz","integrity":"sha512-87iU2Z2zYmtD3v/Jykuv1I6fRaDGxDa3be3Xk0FnossGAeYz29Oy8BkvlT8sv/UCm3Jw7SV4FzlDgTJdjcMEOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGEQRBXBAAUEv49TrUEsrQn/NHVWaIZLsFSINR72cYNEAiAIWSNV/Ug1iwF6v8/mjf9CtD2Crehmc7aLsXNF0hvIhA=="}],"size":306,"noattachment":false,"key":"/rgb/-/rgb-0.0.0.tgz"},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"kamicane","email":"kamicane@gmail.com"},"maintainers":[{"name":"kamicane","email":"kamicane@gmail.com"}],"directories":{},"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","publish_time":1370264611776,"_cnpm_publish_time":1370264611776,"dist-tags":{"latest":"0.1.0"}}