klong

0.0.9 • Public • Published

HSL => RGB

module that converts HSL(hue, saturation, luminosity) values into a hexbased

Install

npm install --save @chrispro/hsl-to-hex

API

require('hsl-to-hex') => Function
hsl(hue, saturation, luminosity)` => String

Example

 
 
var hsl = require('./')
var hue = 240
var saturation = 40
var luminosity = 60
var hex = hsl(hue, saturation, luminosity)
console.log(hex) // #7070c2

Package Sidebar

Install

npm i klong

Weekly Downloads

0

Version

0.0.9

License

MIT

Last publish

Collaborators

  • cryptix720