Android Utililty Methods Random Color Create

List of utility methods to do Random Color Create

Description

The list of methods to do Random Color Create are organized into topic(s).

Method

intgetRamdonColor()
get Ramdon Color
Random random = new Random(System.currentTimeMillis());
final int r = random.nextInt() % 255;
final int g = random.nextInt() % 255;
final int b = random.nextInt() % 255;
int color = (r << 16) | (g << 8) | b;
return color;