RGBAColor

public struct RGBAColor

Simple structure to work with RGB(+alpha) colors

  • red

    Level of red (0-255)

    Declaration

    Swift

    public var red: Int
  • Level of green (0-255)

    Declaration

    Swift

    public var green: Int
  • Level of blue (0-255)

    Declaration

    Swift

    public var blue: Int
  • Level of alpha (0.0-1.0)

    Declaration

    Swift

    public var alpha: CGFloat