rgb-to-hsl
v0.0.3
Published
Convert RGB to HSL
Downloads
64,248
Readme
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