hsl-to-hex
    DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/hsl-to-hex package

    1.0.0 • Public • Published

    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

    Keywords

    none

    Install

    npm i hsl-to-hex

    DownloadsWeekly Downloads

    142,109

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • davidmarkclements