• Converts an HSB color to an HSLA color.

    Example

    hsbToHsl('270', 0.3333, 0.35) // return { h: 270, s: 0.2, b: 0.2917, a: 1 }
    

    Parameters

    • hsb: [string, number, number]

      Color components as an angle followed by fractions.

    Returns HSLA

Generated using TypeDoc