console.foregroundcolor = consolecolor.brown code example Example: c# console foreground color Console.ForegroundColor = ConsoleColor.DarkGreen;