Color

An RGB color object. New colors can be created using a Document's addColor or addColorWithRed: green: blue: alpha: functions.
 
Components

Creating Copies

alpha

returns Float; settable

Gets / Sets the alpha component of the color. The alpha value is a float between 0 and 1.

blue

returns Integer; settable

Gets / Sets the blue component of the color. RGB components are integers between 0 and 255.

green

returns Integer; settable

Gets / Sets the green component of the color. RGB components are integers between 0 and 255.

red

returns Integer; settable

Gets / Sets the red component of the color. RGB components are integers between 0 and 255.

duplicate

returns Color

Creates and returns a duplicate of this color object.
 

Next: Gradient