ovewrite cairosvg color function to catch exceptions