I know this is possible duplicated question. Ruby, Generate a random hex color
My question is slightly different. I need to know, how to generate the random hex lig
-- I found that 128 to 256 gives the lighter colors
Dim rand As New Random Dim col As Color col = Color.FromArgb(rand.Next(128, 256), rand.Next(128, 256), rand.Next(128, 256))