Parse a CSS color: "#rgb", "#rgba", "#rrggbb", "#rrggbbaa", "rgb()", "rgba()", "hsl()", "hsla()" (with commas or spaces, and "/ alpha") or "transparent". Returns undefined otherwise, e.g. for named colors.
Parse a CSS color: "#rgb", "#rgba", "#rrggbb", "#rrggbbaa", "rgb()", "rgba()", "hsl()", "hsla()" (with commas or spaces, and "/ alpha") or "transparent". Returns undefined otherwise, e.g. for named colors.