Currently, I am utilizing html2canvas to capture screenshots of specific elements within a webpage.
html2canvas(element).then(canvas => canvas.toDataURL());
Everything works perfectly fine, except for one issue - the background color of the page is not being captured. Is there a solution within html2canvas to address this problem, or perhaps a way to manually set a background color?