HunterLab
struct HunterLab : Hashable
The Hunter Lab components of a color - lightness (L) and chromaticity (a,b).
-
The lightness component of the color, in the range 0, 100.
Declaration
Swift
public var L: CGFloat
-
The green-red chromaticity component of the color.
Declaration
Swift
public var a: CGFloat
-
The blue-yellow chromaticity component of the color.
Declaration
Swift
public var b: CGFloat
-
Initializes the Hunter Lab components of a color - lightness (L) and chromaticity (a,b).
Declaration
Swift
public init(L: CGFloat, a: CGFloat, b: CGFloat)
Parameters
L
The lightness component of the color, in the range 0, 100.
a
The green-red chromaticity component of the color.
b
The blue-yellow chromaticity component of the color.