1.1.0 • Published 4 years ago

@nightrider__001/hsl-to-hex v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

hsl-to-hex

convert HSL coors to RGB colors in hex format.

Install

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

API

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

Example

  var hsl = require('hsl-to-hex')
  var hue = 133
  var saturation = 40
  var luminosity= 60
  var hex= hsl(hue,saturation,luminosity )
  console.log(hex)// #70x282

License

ISC

1.1.0

4 years ago