get Blue from color - Android Graphics

Android examples for Graphics:Color RGB Value

Description

get Blue from color

Demo Code


//package com.java2s;

public class Main {

    public static int getBlue(int color) {
        int blue = (color & 0x0000ff);
        return blue;
    }/* w  ww  .  j  av a  2 s.  c  o m*/
}

Related Tutorials