hsl-to-hex-simple
v1.0.4
Published
Convert HSL colors to RGB colors in hex format.
Downloads
3
Readme
hsl-to-hex-simple
Convert HSL colors to RGB colors in hex format.
Install
npm install --save hsl-to-hex-simple
API
require('hsl-to-hex-simple') => Function
hsl(hue, saturation, luminosity)` => String
Example
var hsl = require('hsl-to-hex-simple')
var hue = 133
var saturation = 40
var luminosity = 60
var hex = hsl(hue, saturation, luminosity)
console.log(hex) // #70c282
License
ISC