List of utility methods to do Random Color Create
int | getRamdonColor() 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; |