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
LThe lightness component of the color, in the range 0, 100.
aThe green-red chromaticity component of the color.
bThe blue-yellow chromaticity component of the color.
View on GitHub
HunterLab Structure Reference