G
Guest
Hello all, I'm trying to program a random color generator as follows:
Color = Color.FromArgb( (rnd.Next(0,255)), (rnd.Next(0,255)),
(rnd.Next(0,255)) );
When executing, the colors generated from the above line always appear the
same, certainly not random. What is the correct way to generate random
colors?
Color = Color.FromArgb( (rnd.Next(0,255)), (rnd.Next(0,255)),
(rnd.Next(0,255)) );
When executing, the colors generated from the above line always appear the
same, certainly not random. What is the correct way to generate random
colors?