Function script::canvas_state::parse_color

source ยท
pub fn parse_color(
    canvas: Option<&HTMLCanvasElement>,
    string: &str,
    can_gc: CanGc,
) -> Result<AbsoluteColor, ()>