I need to generate random color names e.g. \"Red\", \"White\" etc. How can I do it? I am able to generate random color like this:
Random randonGen = new Ran
If you wanted to get random color from specific colors list,
then try below one
Color[] colors = new[] { Color.Red, Color.Blue, Color.FromArgb(128, 128, 255) }; //Add your favorite colors list
Random randonGen = new Random();
Color randomColor = colors[Generator.Next(0, colors.Length)]; //It will choose random color from "colors" array