BackgroundColor

public enum BackgroundColor : String

Enum for text background color ANSII codes

  • The default color

    Declaration

    Swift

    case `default` = "\u{1B}[0m"
  • Black color

    Declaration

    Swift

    case black = "\u{1B}[40m"
  • red

    Red color

    Declaration

    Swift

    case red = "\u{1B}[41m"
  • Green color

    Declaration

    Swift

    case green = "\u{1B}[42m"
  • Yellow color

    Declaration

    Swift

    case yellow = "\u{1B}[43m"
  • Blue color

    Declaration

    Swift

    case blue = "\u{1B}[44m"
  • Magenta color

    Declaration

    Swift

    case magenta = "\u{1B}[45m"
  • Cyan color

    Declaration

    Swift

    case cyan = "\u{1B}[46m"
  • White color

    Declaration

    Swift

    case white = "\u{1B}[47m"
  • Bright black color

    Declaration

    Swift

    case brightBlack = "\u{1B}[40;1m"
  • Bright red color

    Declaration

    Swift

    case brightRed = "\u{1B}[41;1m"
  • Bright green color

    Declaration

    Swift

    case brightGreen = "\u{1B}[42;1m"
  • Bright yellow color

    Declaration

    Swift

    case brightYellow = "\u{1B}[43;1m"
  • Bright blue color

    Declaration

    Swift

    case brightBlue = "\u{1B}[44;1m"
  • Bright magenta color

    Declaration

    Swift

    case brightMagenta = "\u{1B}[45;1m"
  • Bright cyan color

    Declaration

    Swift

    case brightCyan = "\u{1B}[46;1m"
  • Bright white color

    Declaration

    Swift

    case brightWhite = "\u{1B}[47;1m"