Function setHue

  • Set the hue value for a color to a specific value.

    Returns

    a new color with the new hue value

    Parameters

    • color: Color

      the color to set the value for

    • hue: number

      a number between [0,360] representing hue

    Returns Color

Generated using TypeDoc