.NET console default foreground color code example Example: c# console foreground color Console.ForegroundColor = ConsoleColor.DarkGreen;