Instance Property

alpha

The alpha value of the color.

Declaration

@property(readonly) CGFloat alpha;

Discussion

A color created without an explicit alpha value has an alpha of 1.0 by default.

See Also

Getting Color Components

colorSpace

The Quartz 2D color space associated with the color.

components

The color components of the color.

numberOfComponents

Returns the number of color components in the color.

red

The unpremultiplied red component of the color.

green

The unpremultiplied green component of the color.

blue

The unpremultiplied blue component of the color.

stringRepresentation

A formatted string that specifies the components of the color.