ConsoleColor {System} | .NET clr documentation |
# namespace System
export class ConsoleColor extends Enum {
Black: ConsoleColor = 0;
DarkBlue: ConsoleColor = 1;
DarkGreen: ConsoleColor = 2;
DarkCyan: ConsoleColor = 3;
DarkRed: ConsoleColor = 4;
DarkMagenta: ConsoleColor = 5;
DarkYellow: ConsoleColor = 6;
Gray: ConsoleColor = 7;
DarkGray: ConsoleColor = 8;
Blue: ConsoleColor = 9;
Green: ConsoleColor = 10;
Cyan: ConsoleColor = 11;
Red: ConsoleColor = 12;
Magenta: ConsoleColor = 13;
Yellow: ConsoleColor = 14;
White: ConsoleColor = 15;
}
Black
: ConsoleColorDarkBlue
: ConsoleColorDarkGreen
: ConsoleColorDarkCyan
: ConsoleColorDarkRed
: ConsoleColorDarkMagenta
: ConsoleColorDarkYellow
: ConsoleColorGray
: ConsoleColorDarkGray
: ConsoleColorBlue
: ConsoleColorGreen
: ConsoleColorCyan
: ConsoleColorRed
: ConsoleColorMagenta
: ConsoleColorYellow
: ConsoleColorWhite
: ConsoleColor