public class ColorUtil extends Object
Modifier and Type | Field and Description |
---|---|
static int |
BLACK |
static int |
BLUE |
static int |
CYAN |
static int |
GRAY |
static int |
GREEN |
static int |
LTGRAY |
static int |
MAGENTA |
static int |
WHITE |
static int |
YELLOW |
Constructor and Description |
---|
ColorUtil() |
Modifier and Type | Method and Description |
---|---|
static int |
alpha(int c) |
static int |
argb(int a,
int r,
int g,
int b) |
static int |
blue(int c) |
static int |
green(int c) |
static int |
red(int c) |
static int |
rgb(int r,
int g,
int b) |