This package has been deprecated

Author message:

removing package

@vanessapr85/hsl-to-hex

1.0.1 • Public • Published

hsl-to-hex

Convert HSL colors to RGB colors in hex format. This is a example provided by @davidmarkclements

Install

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

API

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

Example

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

License

MIT

Dependents (0)

Package Sidebar

Install

npm i @vanessapr85/hsl-to-hex

Weekly Downloads

3

Version

1.0.1

License

MIT

Last publish

Collaborators

  • vanessapr85