pub fn parse_color(
    canvas: Option<&HTMLCanvasElement>,
    string: &str
) -> Result<AbsoluteColor, ()>