Fix html2canvas 'Attempting to parse an unsupported color function "oklch"' (Tailwind CSS v4) - DEV Community
Why html2canvas throws on oklch() colors from Tailwind CSS v4, and how to fix it — html2canvas-pro, avoiding those colors in the captured DOM, or the maintained html2canvas-lts fork.