I have created a custom class to have more options for background color than ConsoleColor which only gives me 15 options. How can I assign my custom color to console.background?
Console.BackgroundColor = ???;
public enum CustomColor
{
DarkBlue, DarkGreen, DarkCyan, Teal, DarkRed, Violet, DarkYellow, Gray, DarkGray, Blue, Green, Cyan, Red, Magenta, Yellow, White, Aquamarine, Azure, BurlyWood, CadetBlue, Gainsboro, Gold, Gray, Khaki, LawnGreen, LightGreen, LightSkyBlue, Linen, MediumOrchid, MediumPurple, MistyRose, Olive, OliveDrab, Orange, OrangeRed, Orchid, PaleTurquoise
}