CIELUV

struct CIELUV : Hashable

The CIELUV components of a color - lightness (L) and chromaticity (u,v).

  • L

    The lightness component of the color, in the range 0, 100.

    Declaration

    Swift

    public var L: CGFloat
  • u

    The green-red chromaticity component of the color, typically in the range [-100, 100].

    Declaration

    Swift

    public var u: CGFloat
  • v

    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

    L

    The lightness component of the color, in the range 0, 100.

    u

    The green-red chromaticity component of the color, typically in the range [-100, 100].

    v

    blue-yellow chromaticity component of the color, typically in the range [-100, 100].