CLIFoundation Documentation Beta

Enumeration Terminal.​Background​Color

public enum BackgroundColor: String 

Enum for text background color ANSII codes

Terminal.BackgroundColor Terminal.BackgroundColor String String Terminal.BackgroundColor->String

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

bright​Black

case brightBlack = "\u{001B}[40;1m"

Bright black color

bright​Red

case brightRed = "\u{001B}[41;1m"

Bright red color

bright​Green

case brightGreen = "\u{001B}[42;1m"

Bright green color

bright​Yellow

case brightYellow = "\u{001B}[43;1m"

Bright yellow color

bright​Blue

case brightBlue = "\u{001B}[44;1m"

Bright blue color

bright​Magenta

case brightMagenta = "\u{001B}[45;1m"

Bright magenta color

bright​Cyan

case brightCyan = "\u{001B}[46;1m"

Bright cyan color

bright​White

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

Bright white color