Method Image.Color.greylevel()
- Method greylevel
rgb(objectintred,objectintgreen,objectintblue)
hsv(objectinthue,objectintsaturation,objectintvalue)
cmyk(objectfloatc,floatm,floaty,floatk)
greylevel(objectintlevel)
html(objectstringhtml_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.