public final class Colors extends Object
Colors
provides useful constants to handle RGB colors format. 8-bit
) | color's green level (8-bit
) | color's blue level (
8-bit
) |Modifier and Type | Field and Description |
---|---|
static int |
BLACK
Constant for black color.
|
static int |
BLUE
Constant for blue color.
|
static int |
CYAN
Constant for cyan color.
|
static int |
GRAY
Constant for gray color.
|
static int |
GREEN
Constant for green color.
|
static int |
LIME
Constant for lime color.
|
static int |
MAGENTA
Constant for magenta color.
|
static int |
MAROON
Constant for maroon color.
|
static int |
NAVY
Constant for navy color.
|
static int |
OLIVE
Constant for olive color.
|
static int |
PURPLE
Constant for purple color.
|
static int |
RED
Constant for red color.
|
static int |
SILVER
Constant for silver color.
|
static int |
TEAL
Constant for teal color.
|
static int |
WHITE
Constant for white color.
|
static int |
YELLOW
Constant for yellow color.
|
Constructor and Description |
---|
Colors() |
public static final int BLACK
public static final int BLUE
public static final int CYAN
public static final int GRAY
public static final int GREEN
public static final int LIME
public static final int MAGENTA
public static final int MAROON
public static final int NAVY
public static final int OLIVE
public static final int PURPLE
public static final int RED
public static final int SILVER
public static final int TEAL
public static final int WHITE
public static final int YELLOW