Method Image.Color.hsv()
- Method hsv
rgb(object
int
red
,object
intgreen
,object
intblue
)
hsv(object
int
hue
,object
intsaturation
,object
intvalue
)
cmyk(object
float
c
,float
m
,float
y
,float
k
)
greylevel(object
int
level
)
html(object
string
html_color
)- Description
-
Creates a new color object from given red, green and blue, hue, saturation and value, or greylevel, in color value range. It could also be created from cmyk values in percent.
The html() method only understands the HTML color names, or the #rrggbb form. It is case insensitive.
- Returns
-
the created object.