Skip to content

ZheyangSong/hsl-to-hex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hsl-to-hex

Convert HSL colors to RGB colors in hex format.

Install

npm install --save @douismyheart/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) // #70c282

License

ISC

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published