UIColor

extension UIColor
  • Returns the hex of a color. For example: #FFFFFF.

    Declaration

    Swift

    func hexString() -> String?

    Return Value

    The hex string for this UIColor.

  • Returns the human readable name of the color

    Declaration

    Swift

    var name: String? { get }
  • All the Palettes have the same semantics for their colors

    See more

    Declaration

    Swift

    struct Palette