Java tutorial
//package com.java2s; import java.util.Random; import android.graphics.Color; public class Main { public static int ParseColor() { Random random = new Random(); int red = random.nextInt(255); int green = random.nextInt(255); int blue = random.nextInt(255); return Color.argb(255, red, green, blue); } }