npm.io
1.0.0 • Published 10 years ago

hsl-to-hex v1.0.0

Weekly downloads
10,595
License
MIT
Repository
github
Last release
10 years ago

hsl-to-hex

Convert HSL colors to RGB colors in hex format.

API

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

Example

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

License

ISC

hsl-to-rgb-for-reals
ta-tmr-tracker-fe@everything-registry/sub-chunk-1866temporary-react-pdfwvrio-styleguidekewler@tiger-za-pdf/stylesheet@zalastax/nolb-hs@asutrick/react-pdf-stylesheet@cloudhubreact-pdf/stylesheet@ads.silva/stylesheet@infinitebrahmanuniverse/nolb-hs@lachie-pdf/stylesheet@kjossendal/stylesheet@react-pdf/stylesheet@react-pdf-jepek/stylesheet@react-18-pdf/root@react-18-pdf/stylesheet@procore/labs-pdf-maker@realness.online/webmunia-pretty-jsonscong-react-fork-pdf-stylesheetpercent-to-hexreact-pdf-stylesheetshadcn-custom-theme@deviousm/react-pdf-stylesheet-noborderproblem@jaksmok-react-pdf/stylesheet@digidem/react-pdf-stylesheet@novalabs/pdf-stylesheet@nutshelllabs/stylesheet@jens-2020/stylesheet@garrettcharliehill/stylesheet@r-pdf-rtl/stylesheet
1.0.0

10 years ago

contact@npm.io