Here you can find the source of decodeColor(int value)
public static Color decodeColor(int value)
//package com.java2s; //License from project: Open Source License import java.awt.Color; public class Main { public static Color decodeColor(int value) { return new Color((int) (value & 0xFF0000) >> 16, (int) (value & 0xFF00) >> 8, (int) value & 0xFF, (int) (((long) value & 0xFF000000L) >> 24)); }// w w w .j ava 2 s. c om }