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 Random();
Color randomColor = Color.FromArgb(randonGen.Next(255), randonGen.Next(255),
randonGen.Next(255));
but I need the names and not all colors generated like this have a known name.
Thanks
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…