Colors
The Color object is a static class. All methods and properties are static. The Color class can not be created using the "new" operator.
Color Properties:
white - RGB(0xFF, 0xFF, 0xFF)
black - RGB(0x00, 0x00, 0x00)
darkgrey - RGB(0x40, 0x40, 0x40)
grey - RGB(0x80, 0x80, 0x80)
lightgrey - RGB(0xC0, 0xC0, 0xC0)
navy - RGB(0x00, 0x00, 0x80)
blue - RGB(0x00, 0x00, 0xFF)
aqua - RGB(0x00, 0xDD, 0xDD)
cyan - RGB(0x00, 0xFF, 0xFF)
teal - RGB(0x40, 0x80, 0x80)
darkgreen - RGB(0x00, 0x40, 0x00)
green - RGB(0x00, 0x80, 0x00)
lime - RGB(0x00, 0xFF, 0x00)
olive - RGB(0x66, 0x66, 0x00)
khaki - RGB(0xCC, 0xCC, 0x00)
brown - RGB(0x80, 0x40, 0x40)
purple - RGB(0x99, 0x66, 0xCC)
red - RGB(0xFF, 0x00, 0x00)
magenta - RGB(0xFF, 0x00, 0xFF)
maroon - RGB(0x80, 0x00, 0x00)
fuschia - RGB(0xF, 0x00, 0xFF)
yellow - RGB(0xFF, 0xFF, 0x00)
lightyellow - RGB(0xFF, 0xFF, 0x40)
paleyellow - RGB(0xFF, 0xFF, 0x80)
Color Methods:
RGB(rValue, gValue, bValue) - creates a RGB value.
rValue is a value between 0 and 255 (or 0x00 to 0xFF)
gValue is a value between 0 and 255 (or 0x00 to 0xFF)
bValue is a value between 0 and 255 (or 0x00 to 0xFF)
Example:
setBarFgColor( Color.RGB(0x00, 0xFF, 0x00) );