• Converts an HSV color to a HEXA color.

    Example

    hsvToHexa('227deg', 0.3333, 0.35) // return { r: 0.2917, g: 0.2334, b: 0.35, a: 1 }
    

    Parameters

    • hsv: [string, number, number]

      Color components as an angle followed by fractions.

    Returns RGBA

Generated using TypeDoc