Fix that awful code that parses colors to use a regex.  This likely fixes the issue Icy mentioned.