Java examples for 2D Graphics:Color RGB
int Color to Blue
//package com.java2s; public class Main { public static int toBlue(int rgb) { int b = rgb & 0xFF; return b; }//ww w .ja v a 2 s. c o m }