ColorOps:HsvColor(h, s, v, a)

Version added: 11.0
Creates a new HSV color object from the given hue, saturation, value, and alpha components

Arguments:

Name Type Description Default Ver
h int The Hue component (0-255) 11.0
s int The Saturation component (0-255) 11.0
v int The Value component (0-255) 11.0
a int The Alpha component (0-255) 255 11.0

Return value:

hsv_color A new HSV color object
This is a static method (which means that it can be used without creating an instance of the class).
For example:
local hsvCol = LM.ColorOps:HsvColor(10, 20, 30, 40)
<< Back to ColorOps