public class ColorUtil
extends java.lang.Object
Constructor and Description |
---|
ColorUtil() |
Modifier and Type | Method and Description |
---|---|
static int |
colorTriadToInt(float x,
float y,
float z) |
static int |
getArgbFromString(java.lang.String strColor)
accepts [xRRGGBB] or [0xRRGGBB] or [0xFFRRGGBB] or #RRGGBB or
[red,green,blue] or a valid JavaScript color
|
static int |
rgb(int red,
int grn,
int blu) |
public static int getArgbFromString(java.lang.String strColor)
strColor
- public static int colorTriadToInt(float x, float y, float z)
public static int rgb(int red, int grn, int blu)