Implement proper parsing of rgb / rgba CSS strings.