Extracted from Pike v7.6 release 61 at 2005-12-30.
pike.ida.liu.se
[Top]
Image
Image.Color

Method Image.Color.cmyk()


Method cmyk

object Image.Color.rgb(int red, object intgreen, object intblue)
object Image.Color.hsv(int hue, object intsaturation, object intvalue)
object Image.Color.cmyk(float c, float m, float y, float k)
object Image.Color.greylevel(int level)
object Image.Color.html(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.