Enumeration
Terminal.BackgroundColor
public enum BackgroundColor: String
Enum for text background color ANSII codes
Relationships
Member Of
Terminal
A container struct for text styling in a terminal
Conforms To
String
Enumeration Cases
`default`
case `default` = "\u{001B}[0m"
The default color
black
case black = "\u{001B}[40m"
Black color
red
case red = "\u{001B}[41m"
Red color
green
case green = "\u{001B}[42m"
Green color
yellow
case yellow = "\u{001B}[43m"
Yellow color
blue
case blue = "\u{001B}[44m"
Blue color
magenta
case magenta = "\u{001B}[45m"
Magenta color
cyan
case cyan = "\u{001B}[46m"
Cyan color
white
case white = "\u{001B}[47m"
White color
brightBlack
case brightBlack = "\u{001B}[40;1m"
Bright black color
brightRed
case brightRed = "\u{001B}[41;1m"
Bright red color
brightGreen
case brightGreen = "\u{001B}[42;1m"
Bright green color
brightYellow
case brightYellow = "\u{001B}[43;1m"
Bright yellow color
brightBlue
case brightBlue = "\u{001B}[44;1m"
Bright blue color
brightMagenta
case brightMagenta = "\u{001B}[45;1m"
Bright magenta color
brightCyan
case brightCyan = "\u{001B}[46;1m"
Bright cyan color
brightWhite
case brightWhite = "\u{001B}[47;1m"
Bright white color