hueComponent
The hue component value of the color.
Declaration
var hueComponent: CGFloat { get }Discussion
Access this property only for colors in the calibratedRGB or deviceRGB color spaces. RGB values are converted to HSB values as needed. Accessing it for other color types raises an exception.