Skip to content

Background color is not interpreted correctly #182

Open
@jgrDev

Description

@jgrDev

Hi,
the background color is not interpreted correctly.
For example, when the background color is white (#FFFFFF), it is interpreted as #FDFDFD.
I would like to know how to get a completely white background.
Does anyone know what can happen?

html2pdf().from(innerHtml).set({
	            margin: 1,
	            filename: fileName+'.pdf',
	            image: { type: "jpeg", quality: 1},
	            jsPDF: {orientation: 'portrait', unit: 'in', format: 'letter', compressPDF: false},
	            pagebreak: {mode: ['avoid-all']}
            }).save().then(function () {
            	console.log("finish!");
            });

Thanks!
web.pdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions