1.0.9 • Published 7 years ago
hsl-to-rgb-lightweight v1.0.9
hsl-to-rgb-lightweight
Why do I made this?
- Because the existing packages wasn't written for ES6+
- Because I wanted something REALLY lightweight for a very specific scenario.
Getting started
How to install:
npm install hsl-to-rgb-lightweight --save
How to use:
import { HLSToRGB } from 'hsl-to-rgb-lightweight';
let rgbColor = HLSToRGB.convert(223, 0.44, 0.56)
Expected values
Extra notes
- The code is well commented, feel free to read it.
- Ready for jsdoc and typedoc.
Acknowledgements
- Based in hsl-to-torgb-for-reals by kayellpeee.