Fix for parsing a string of format "r,g,b,a" (*without* white spaces after the comma's). 

This adds support for the XML standard and allows for more general use. 

The previous implementation only worked for the "r, g, b, a", with spaces.