c# save foreground color in string code example Example: c# console foreground color Console.ForegroundColor = ConsoleColor.DarkGreen;