CIELCh

struct CIELCh : Hashable

The CIELCh° components of a color - lightness (L), chroma ©, and hue (h).

  • L

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

    Declaration

    Swift

    public var L: CGFloat
  • C

    The chroma component of the color.

    Declaration

    Swift

    public var C: CGFloat
  • h

    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).

    Declaration

    Swift

    public init(L: CGFloat, C: CGFloat, h: CGFloat)

    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°].