It's probably not the easiest way (it may be in a reference book somewhere), but you could use the Java Development Environment (JDE) and set breakpoints before and after you perform a color asignment. When you hit the break, check in your "Locals" watchlist to see what the int values are before and after the assignment:
Sample Code:
Code:
ListField myList = new ListField() {
protected void paint(Graphics g) {
g.setBackgroundColor(Color.SKYBLUE);
g.clear();
...
Locals:
Code:
Name Value Type
------------------------------------------------
g
|--- _bgColour 8900331 int