• Passthrough for HSL[A] to HSLA conversion.

    Example

    hslToHsl('227deg', 0.3333, 0.35) // return { h: 227, s: 0.3333, l: 0.35, a: 1 }
    

    Parameters

    • hsla: [string, number, number, number?]

      Color components as an angle followed by fractions.

    Returns HSLA

Generated using TypeDoc