pub fn parse_color_rgb<'a>(
input: &'a str,
parse_alpha: bool,
) -> Result<ColorU, CssColorParseError<'a>>
Expand description
Parse a color of the form rgb([0-255], [0-255], [0-255])
, or rgba([0-255], [0-255], [0-255], [0.0-1.0])
without the leading rgb[a](
or trailing )
. Alpha defaults to 255.