html2canvas fix : error attempting to parse unsupported color
Problem
if you're using html2canvas to capture screenshots, you might encounter this error:
error: attempting to parse an unsupported color function "color"
this happens when your webpage uses modern css color functions like:
color(display-p3 1 0.5...
attemptingtoparsecolorfix.hashnode.dev2 min read