Color blue Intensity - Android Graphics

Android examples for Graphics:Color RGB Value

Description

Color blue Intensity

Demo Code


//package com.java2s;
import android.graphics.Color;

public class Main {
    public static float blueIntensity(int color) {
        return ((float) Color.blue(color)) / 255;
    }/*from   ww w . j av  a  2  s  . c  o  m*/
}

Related Tutorials