Here you can find the source of colorWithARGB(int alpha, int red, int green, int blue)
public static int colorWithARGB(int alpha, int red, int green, int blue)
//package com.java2s; //License from project: Open Source License public class Main { public static int colorWithARGB(int alpha, int red, int green, int blue) { return (alpha << 24) | (red << 16) | (green << 8) | blue; }// w ww . j a v a 2 s . c o m }