In addition to specifying RGB values, you can also specify HEX values for RGB colors in STY files for the following properties:
For example:
setFillColor(getSeries(0),new Color(#FF0000));