npm.io
0.0.3 • Published 10 years ago

rgb-to-hsl

Licence
MIT
Version
0.0.3
Deps
0
Vulns
0
Weekly
0
Stars
4

rgb-to-hsl

var rgbToHsl = require('rgb-to-hsl');
rgbToHsl(255, 192, 203);

Result:

[350, 100%, 88%]

Based on the thread http://stackoverflow.com/questions/2353211/hsl-to-rgb-color-conversion