• Converts an HSL color to an HSV color.

    Example

    hslToHsv('0.85turn', 0.3333, 0.35) // return { h: 306, s: 0.5, v: 0.4667 }
    

    Parameters

    • hsl: [string, number, number]

      Color components as an angle followed by fractions.

    Returns HSV

Generated using TypeDoc