Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Print Background colours in Chrome

People also ask

How do I get the background color to print?

Go to Word > Preferences . Under Output and Sharing, select Print. Under Print Options, select the Print background colors and images check box. Close the Print dialog box, and go to File > Print.

Why is my printer not printing the background color?

First on the File menu, click Options > on the Display menu, click to select the Print background colors and images check box under Printing Options > and then click OK. Hope above suggestion helps you and good luck! Was this reply helpful?

How do you print background color in PDF?

Go to the "File" menu. Click "Options". Click "Display". Enable the option to "Print background colors and images".


You adjust in the browser, whether the background colors and images are printed. See your browsers printing options.

Google Chrome offers this feature starting from version 26 (march 2013).

Also starting from version 17, Chrome allows changing the background print behavior programmatically by using -webkit-print-color-adjust:exact; in the element CSS to print the background.


Gordon's answer is great, but for people whose CSS skills are rusty, here's a more complete example.

Put the following in your document's <head> section.

<style type="text/css">
@media print { body { -webkit-print-color-adjust: exact; } }
</style>

By the way, although Chrome/Chromium's print dialog now has a Background graphics checkbox, it only seems to work if you do not click Print using system dialog (observed with Chromium in Linux).


Chrome > Print (cmd P) > click More Settings > Options: check Background graphics

Chrome Print Preview