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@infinitebrahmanuniverse/nolb-hs@lachie-pdf/stylesheetmunia-pretty-jsonscong-react-fork-pdf-stylesheetpercent-to-hexreact-pdf-stylesheetshadcn-custom-theme@nutshelllabs/stylesheet@novalabs/pdf-stylesheet@garrettcharliehill/stylesheet@procore/labs-pdf-maker@ads.silva/stylesheet@asutrick/react-pdf-stylesheet@react-18-pdf/root@react-18-pdf/stylesheet@jaksmok-react-pdf/stylesheet@jens-2020/stylesheet@cloudhubreact-pdf/stylesheet@realness.online/web@deviousm/react-pdf-stylesheet-noborderproblem@react-pdf-jepek/stylesheet@react-pdf/stylesheet@digidem/react-pdf-stylesheet@r-pdf-rtl/stylesheet@kjossendal/stylesheet
1.0.0

10 years ago

contact@npm.io