Navy Penguin Mariachi

    @kamran.zigron/hsl-to-hex

    1.0.1 • Public • Published

    hsl-to-hex

    Convert HSL colors to RGB colors in hex format.

    Install

    npm install --save @kamran.zigron/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

    Install

    npm i @kamran.zigron/hsl-to-hex

    DownloadsWeekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    4.3 kB

    Total Files

    5

    Last publish

    Collaborators

    • kamran.zigron