Use cssutils to parse color value

This helps with cases where color value is specified using name, e. g. red.
Remove unused code