I need to generate to generate random colors in Hex values in my asp.net application to draw a graph .
Random random = new Random(); color = String.Format(\"#
Random r=new Random(); var newCol=(r.Next(0,256)<<16)+(r.Next(0,256)<<8)+(r.Next(0,256));
If you want brighter colors, consider raising the minimum parameter of Next
Next