I bet you are and just don't know it. Check out the API for Color. What happened when you tried to use the setRGB method? An SSCCE would be nice to see.