MSDN Documentation
Home
.NET
API Reference
Namespace:
System
ConsoleColor Enum
Enum
Specifies identifiers that represent the foreground and background colors of the console.
Syntax
public enum ConsoleColor
Members
Black
(0)
DarkBlue
(1)
DarkGreen
(2)
DarkCyan
(3)
DarkRed
(4)
DarkMagenta
(5)
DarkYellow
(6)
Gray
(7)
DarkGray
(8)
Blue
(9)
Green
(10)
Cyan
(11)
Red
(12)
Magenta
(13)
Yellow
(14)
White
(15)