Enum ColorName16
Defines the 16 legacy color names and values that can be used to set the foreground and background colors in Terminal.Gui apps. Used with Color.
public enum ColorName16
- Extension Methods
Fields
Black = 0The black color. ANSI escape sequence:
\u001b[30m.Blue = 1The blue color. ANSI escape sequence:
\u001b[34m.BrightBlue = 9The bright blue color. ANSI escape sequence:
\u001b[34;1m.BrightCyan = 11The bright cyan color. ANSI escape sequence:
\u001b[36;1m.BrightGreen = 10The bright green color. ANSI escape sequence:
\u001b[32;1m.BrightMagenta = 13The bright magenta color. ANSI escape sequence:
\u001b[35;1m.BrightRed = 12The bright red color. ANSI escape sequence:
\u001b[31;1m.BrightYellow = 14The bright yellow color. ANSI escape sequence:
\u001b[33;1m.Cyan = 3The cyan color. ANSI escape sequence:
\u001b[36m.DarkGray = 8The dark gray color (also known as Bright Black). ANSI escape sequence:
\u001b[30;1m.Gray = 7The gray color (also known as White). ANSI escape sequence:
\u001b[37m.Green = 2The green color. ANSI escape sequence:
\u001b[32m.Magenta = 5The magenta color. ANSI escape sequence:
\u001b[35m.Red = 4The red color. ANSI escape sequence:
\u001b[31m.White = 15The White color (also known as Bright White). ANSI escape sequence:
\u001b[37;1m.Yellow = 6The yellow color (also known as Brown). ANSI escape sequence:
\u001b[33m.
Remarks
These colors match the 16 colors defined for ANSI escape sequences for 4-bit (16) colors.
For terminals that support 24-bit color (TrueColor), the RGB values for each of these colors can be configured using the Colors16 property.