CIELCh
struct CIELCh : Hashable
The CIELCh° components of a color - lightness (L), chroma ©, and hue (h).
-
The lightness component of the color, in the range 0, 100.
Declaration
Swift
public var L: CGFloat
-
The chroma component of the color.
Declaration
Swift
public var C: CGFloat
-
The hue component of the color, in the range [0, 360°].
Declaration
Swift
public var h: CGFloat
-
Initializes the CIELCh° components of a color - lightness (L), chroma ©, and hue (h).
Parameters
L
The lightness component of the color, in the range 0, 100.
C
The chroma component of the color.
h
The hue component of the color, in the range [0, 360°].