Contents

redComponent

The red component value of the color.

Declaration

var redComponent: CGFloat { get }

Discussion

Access this property only for colors in the calibratedRGB or deviceRGB color spaces. Accessing it for other color types raises an exception.

See Also

Related Documentation

Retrieving individual components