to set the color you need to use g.setColor(Color.(default colors usually in eclipse you want but it should be all in Caps)
If you want a specific color you would use RGB decimal format. To do this you would do g.setColor(newColor(R,G,B);
You can also use paint to play around with colors and what values of Red Green and Blue give you the certain color that you want
Color color = newColor(r,g,b);
Try using this link to pick colors- you can use the mouse to find the color you would like and then it gives you the RGB code for that color.