public interface Colors
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
The black RGB color constant.
The value 0x000000 is assigned to BLACK . |
static int |
BLUE
The blue RGB color constant.
The value 0x0000ff is assigned to BLUE . |
static int |
CYAN
The cyan RGB color constant.
The value 0x00ffff is assigned to CYAN . |
static int |
GRAY
The gray RGB color constant.
The value 0x808080 is assigned to GRAY . |
static int |
GREEN
The green RGB color constant.
The value 0x008000 is assigned to GREEN . |
static int |
LIME
The lime RGB color constant.
The value 0x00ff00 is assigned to LIME . |
static int |
MAGENTA
The magenta RGB color constant.
The value 0xff00ff is assigned to MAGENTA . |
static int |
MAROON
The maroon RGB color constant.
The value 0x800000 is assigned to MAROON . |
static int |
NAVY
The navy RGB color constant.
The value 0x000080 is assigned to NAVY . |
static int |
OLIVE
The olive RGB color constant.
The value 0x808000 is assigned to OLIVE . |
static int |
PURPLE
The purple RGB color constant.
The value 0x800080 is assigned to PURPLE . |
static int |
RED
The red RGB color constant.
The value 0xff0000 is assigned to RED . |
static int |
SILVER
The silver RGB color constant.
The value 0xc0c0c0 is assigned to SILVER . |
static int |
TEAL
The teal RGB color constant.
The value 0x008080 is assigned to TEAL . |
static int |
WHITE
The white RGB color constant.
The value 0xffffff is assigned to WHITE . |
static int |
YELLOW
The yellow RGB color constant.
The value 0xffff00 is assigned to YELLOW . |
static final int BLACK
0x000000
is assigned to BLACK
.static final int BLUE
0x0000ff
is assigned to BLUE
.static final int CYAN
0x00ffff
is assigned to CYAN
.static final int GRAY
0x808080
is assigned to GRAY
.static final int GREEN
0x008000
is assigned to GREEN
.static final int LIME
0x00ff00
is assigned to LIME
.static final int MAGENTA
0xff00ff
is assigned to MAGENTA
.static final int MAROON
0x800000
is assigned to MAROON
.static final int NAVY
0x000080
is assigned to NAVY
.static final int OLIVE
0x808000
is assigned to OLIVE
.static final int PURPLE
0x800080
is assigned to PURPLE
.static final int RED
0xff0000
is assigned to RED
.static final int SILVER
0xc0c0c0
is assigned to SILVER
.static final int TEAL
0x008080
is assigned to TEAL
.static final int WHITE
0xffffff
is assigned to WHITE
.static final int YELLOW
0xffff00
is assigned to YELLOW
.