Java tutorial
//package com.java2s; import android.graphics.Color; import java.util.Random; public class Main { public static int gteRandomColor() { Random random = new Random(); return Color.rgb(random.nextInt(200) + 20, random.nextInt(200) + 20, random.nextInt(200) + 20); } }