Static Public Member Functions | |
static Color | rgb (byte r, byte g, byte b) |
Creates Color instance from RGB values. More... | |
static Color | rgb (String rgbColor) |
Creates color instance from RGB string. More... | |
Static Public Attributes | |
static final Color | RED = rgb((byte)251, (byte)3, (byte)16) |
static final Color | GREEN = rgb((byte)62, (byte)164, (byte)19) |
static final Color | BLUE = rgb((byte)0, (byte)0, (byte)255) |
static final Color | WHITE = rgb((byte)255, (byte)255, (byte)255) |
static final Color | BLACK = rgb((byte)0, (byte)0, (byte)0) |
static final Color | GREY = rgb((byte)128, (byte)128, (byte)128) |
static final Color | ORANGE = rgb((byte)248, (byte)128, (byte)7) |
static final Color | BACKGROUND = rgb((byte)16, (byte)28, (byte)41) |
Package Functions | |
byte[] | getArray () |
Static Package Functions | |
static Color | fromArray (byte[] val) |
Package Attributes | |
byte | mG |
byte | mB |
byte | mA |
|
staticpackage |
|
static |
Creates Color instance from RGB values.
r | |
g | |
b |
|
static |
Creates color instance from RGB string.
rgbColor | RGB string in rrggbb or #rrggbb format |
|
package |
|
package |
Referenced by Color.getArray().
|
package |
Referenced by Color.getArray().