Function hsvToHexColor

  • Converts a color from hsv to a hex rgb value.

    Parameters

    • hue: number

      The hue in the range of 0 to 1.

    • saturation: number

      The saturation in the range 0 to 1.

    • value: number

      The value int the range 0 to 1.

    Returns string

    an rgb hex color prefixed with '#'.