HSL -> RGB
Convert HSL values (hue, saturation, light) to RGB values (red, green, blue). Expected values: Hue: [0, 360[ Saturation: [0, 1] Lightness: [0, 1]
Author forgot to export their function in the hsl-to-rgb module,
there's a PR that's been sitting for over a year (at time of writing).
hsl-to-rgb-for-reals until original author merges. Huzzah!
Funny story - I forgot to module export in v1.0.0 too! Don't use 1.0.0.
npm install hsl-to-rgb-for-reals --save
var converter = ;var slateBlue = ;console;// logs [93, 121, 192]
Bug the original author :D https://github.com/kayellpeee/hsl_rgb_converter/issues
- sponsored by nearForm