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