CMYK

struct CMYK : Hashable

The CMYK (cyan, magenta, yellow, black) components of a color, in the range [0, 100%].

  • The cyan component of the color, in the range [0, 100%].

    Declaration

    Swift

    public var cyan: CGFloat
  • The magenta component of the color, in the range [0, 100%].

    Declaration

    Swift

    public var magenta: CGFloat
  • The yellow component of the color, in the range [0, 100%].

    Declaration

    Swift

    public var yellow: CGFloat
  • The black component of the color, in the range [0, 100%].

    Declaration

    Swift

    public var black: CGFloat
  • Initializes the CMYK (cyan, magenta, yellow, black) components of a color, in the range [0, 100%].

    Declaration

    Swift

    public init(cyan: CGFloat, magenta: CGFloat, yellow: CGFloat, black: CGFloat)

    Parameters

    cyan

    The cyan component of the color, in the range [0, 100%].

    magenta

    The magenta component of the color, in the range [0, 100%].

    yellow

    The yellow component of the color, in the range [0, 100%].

    black

    The black component of the color, in the range [0, 100%].