Skip to main content

parse_color_with

Function parse_color_with 

Source
pub fn parse_color_with(
    context: &ParserContext<'_>,
    input: &mut Parser<'_>,
) -> Result<Color, ParseError>
Expand description

Parse a CSS color using the specified [ColorParser] and return a new color value on success.