Java tutorial
//package com.java2s; import android.graphics.Color; public class Main { /** Get the hue component of the color [0..360]. */ public static float getHue(int color) { float[] hsv = new float[3]; Color.colorToHSV(color, hsv); return hsv[0]; } }