Java tutorial
//package com.java2s; import android.graphics.Color; public class Main { public static int lighten(int color, float amount) { float hsv[] = new float[3]; Color.colorToHSV(color, hsv); hsv[1] = Math.max(0f, Math.min(1f, hsv[1] - amount)); // saturation hsv[2] = Math.max(0f, Math.min(1f, hsv[2] + amount)); // brightness return Color.HSVToColor(hsv); } }