{"name":"husl","description":"Human-friendly HSL","keywords":["color","color space","CIE","RGB","HUSL","HSL"],"version":"6.0.2-alpha.1","author":{"name":"Alexei Boronine","email":"alexei@boronine.com"},"license":"MIT","main":"../dist/husl.min.js","files":["../dist/husl.min.js"],"repository":{"type":"git","url":"git+ssh://git@github.com/husl-colors/husl.git"},"homepage":"http://www.husl-colors.org","bugs":{"url":"https://github.com/husl-colors/husl/issues"},"_id":"husl@6.0.2-alpha.1","scripts":{},"_shasum":"0e5636a4e96756a1f4f1622f24f5e455883e4734","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"boronine","email":"alexei.boronine@gmail.com"},"dist":{"shasum":"0e5636a4e96756a1f4f1622f24f5e455883e4734","tarball":"http://registry-npm.ywwl.com/husl/download/husl-6.0.2-alpha.1.tgz","integrity":"sha512-/0+1vKUDJr3TOAzbdWkQ/iHoGhHmHbtQO9kTyq4k9BXsu0EHOO7QJjbl8CoSM+ALD6cKyLNGBsdOk9YyYMx9FA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC4LhDQPMFp0PbMVbMvOJQsOStZPbrfyaUEpAGtizDx0AiAlsruiIthKd6195TDsy87sWSZasfseN9gKRryIjvZi7w=="}],"size":1075,"noattachment":false,"key":"/husl/-/husl-6.0.2-alpha.1.tgz"},"maintainers":[{"name":"boronine","email":"alexei.boronine@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/husl-6.0.2-alpha.1.tgz_1479753941612_0.6565175731666386"},"directories":{},"readme":"# DEPRECATED\n\nIdentical functionality is provided under a new name: HSLuv.\n\nPackage: https://www.npmjs.com/package/hsluv\nDocumentation: https://github.com/hsluv/hsluv/tree/master/javascript\n\n## Usage\n\n**husl.toHex(hue, saturation, lightness)**\n\n*hue* is a number between 0 and 360, *saturation* and *lightness* are \nnumbers between 0 and 100. This function returns the resulting color as \na hex string.\n\n**husl.toRGB(hue, saturation, lightness)**\n\nLike above, but returns an array of 3 numbers between 0 and 1, for the \nr, g, and b channel.\n\n**husl.fromHex(hex)**\n\nTakes a hex string and returns the HUSL color as array that contains \nthe hue (0-360), saturation(0-100) and lightness(0-100) channel.\n_Note_: The result can have rounding errors. For example saturation can \nbe 100.00000000000007\n\n**husl.fromRGB(red, green, blue)**\n\nLike above, but *red*, *green* and *blue* are passed as numbers between \n0 and 1.\n\nUse **husl.p.toHex**, **husl.p.toRGB**, **husl.p.fromHex** and \n**husl.p.fromRGB** for the pastel variant (HUSLp). Note that HUSLp does \nnot contain all the colors of RGB, so converting arbitrary RGB to it may \ngenerate invalid HUSLp colors.\n\n","publish_time":1479753941846,"_cnpm_publish_time":1479753941846,"dist-tags":{"latest":"6.0.6"}}