Sorry, for late reply .. I wasn't online @ G4EF as I was stuck with something else ..
Anyway .. I guess you can directly specify the colors like #FF0000 for red etc ...
(Tell me if it doesn't work, I just roughly went through the above code .. may be I am wrong)