A vec4 representing the HSV color (hue, saturation, value, alpha) or a number representing the hue. If a number is provided, saturation, value, and alpha must also be provided.
Optionalsaturation: numberThe saturation component (0 to 1).
Optionalvalue: numberThe value (brightness) component (0 to 1).
Optionalalpha: numberThe alpha (opacity) component (0 to 1).
A vec4 representing the RGB color (red, green, blue, alpha).
Converts an HSV color to RGB. This function takes a color in HSV format (Hue, Saturation, Value) and converts it to RGB format (Red, Green, Blue). The function can accept either a vec4 representing the HSV color or a number representing the hue.