I need to generate a random color for each item in my gridview. My requirement is that I must generate these colors between, for example, one shade of blue and another shade of blue. i.e. all colors must be within that range. I have a start color and an end color and I have a random object to generate bytes. How do I ensure that the colors generated stay within the given range? I need to write this in C# for Windows 8. The only color generation option it shows me in Windows.UI.Color is the FromArgb method. Any ideas on how I could achieve that?
I need to generate a random color for each item in my gridview .
Share
Should give you a blueish color between 20 and 255 with fixed red and green value’s