add CSS-style color parsing