Hi there, i have this function that creates for me random colors.
I would like it to skip the red color because i use it for something else.
Any one knows how?
I would like it to skip the red color because i use it for something else.
Any one knows how?
Code:
private int MakeRandomColor()
{
Random rand = new Random(DateTime.Now.Millisecond);
return Convert.ToInt32(ColorTranslator.ToOle(Color.FromArgb(rand.Next(256), rand.Next(256), rand.Next(256))));
}