Check out example codes for "css print has background graphics". It will help you in understanding the concepts better.

Code Example 1

/* 
This forces browsers to use background colors when user prints a web page.
Even if they have Print Options Background Graphics turned off.

Default value Economy

Browser Support See
https://developer.mozilla.org/en-US/docs/Web/CSS/color-adjust
*/



color-adjust: exact;
-webkit-print-color-adjust: exact;

Learn ReactJs, React Native from akashmittal.com