CIELUV
struct CIELUV : Hashable
The CIELUV components of a color - lightness (L) and chromaticity (u,v).
-
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, typically in the range [-100, 100].
Declaration
Swift
public var u: CGFloat -
The blue-yellow chromaticity component of the color, typically in the range [-100, 100].
Declaration
Swift
public var v: CGFloat -
Initializes the CIELUV components of a color - lightness (L) and chromaticity (u,v).
Declaration
Swift
public init(L: CGFloat, u: CGFloat, v: CGFloat)Parameters
LThe lightness component of the color, in the range 0, 100.
uThe green-red chromaticity component of the color, typically in the range [-100, 100].
vblue-yellow chromaticity component of the color, typically in the range [-100, 100].
View on GitHub
CIELUV Structure Reference