The CSS print-color-adjust property controls whether a browser may adjust an element's colors and backgrounds when printing or producing printed output.

Browsers often simplify colors, remove backgrounds, or modify contrast to conserve ink and improve readability. The print-color-adjust property lets developers indicate whether these adjustments are acceptable or whether preserving the specified appearance is important.

print-color-adjust Syntax

The print-color-adjust property accepts two values: economy and exact.

Basic Syntax

selector {
  print-color-adjust: economy;
}

Available Values

.print-section {
  print-color-adjust: economy;
}
.print-section {
  print-color-adjust: exact;
}

CSS-Wide Keywords

.print-section {
  print-color-adjust: initial;
}
.print-section {
  print-color-adjust: inherit;
}
.print-section {
  print-color-adjust: unset;
}
.print-section {
  print-color-adjust: revert;
}
.print-section {
  print-color-adjust: revert-layer;
}

The property is inherited, so a value applied to a parent element also affects its descendants unless they override it.

Property Values

Value Description
economy Allows the browser to adjust colors, backgrounds, and other visual details to conserve ink or improve printed output. This is the initial value.
exact Indicates that preserving the specified colors and visual appearance is important and that the browser should avoid unnecessary adjustments.
initial Resets the property to economy.
inherit Uses the computed value from the parent element.
unset Inherits the value from the parent because the property is inherited.
revert Reverts the property according to CSS cascade origin rules.
revert-layer Reverts the property according to CSS cascade layer rules.

Property Characteristics

Characteristic Value
Initial value economy
Inherited Yes
Applies to All elements
Computed value As specified
Animation type Discrete
Percentages Not applicable

Valid Values

.invoice {
  print-color-adjust: economy;
}
.chart {
  print-color-adjust: exact;
}
.print-layout {
  print-color-adjust: inherit;
}

Invalid Values

.print-section {
  print-color-adjust: auto;
}
.print-section {
  print-color-adjust: preserve;
}
.print-section {
  print-color-adjust: high;
}
.print-section {
  print-color-adjust: 100%;
}

The property does not accept percentages, numeric values, or arbitrary keywords such as preserve.

How It Works

When a browser prepares a document for printing, it may change certain visual details to make the output easier to read or less expensive to print.

Common adjustments include removing background colors, simplifying decorative backgrounds, and modifying colors for better contrast on paper.

Default Printing Behavior

.document {
  print-color-adjust: economy;
}

The browser is allowed to adjust the appearance of the document during printing.

Requesting Color Preservation

.document {
  print-color-adjust: exact;
}

This tells the browser that the specified colors and visual details are important to the document's presentation.

Applying the Property to Specific Elements

.document {
  print-color-adjust: economy;
}
.document .color-chart {
  print-color-adjust: exact;
}

The document uses economical printing by default, while the color chart requests more faithful color reproduction.

User Printing Preferences

The property expresses an author preference, not an absolute requirement. Browser settings, printer capabilities, and user choices can override the requested behavior.

Important Distinction

The print-color-adjust property does not define colors. It controls whether the browser should preserve or adjust colors already specified by other CSS properties.

The economy Value

The economy value allows the browser to modify the appearance of printed content when doing so may improve readability or conserve ink.

Example

.article {
  background-color: #f1f5f9;
  color: #1e293b;
  print-color-adjust: economy;
}

During printing, the browser may remove the light background or adjust the colors.

Typical Uses

  • Articles and documentation.
  • Text-heavy reports.
  • Invoices and receipts.
  • Instructional materials.
  • Documents where background colors are decorative rather than essential.

Why economy Is the Default

Most printed documents benefit from clear text, reduced background ink, and simplified formatting. The default value allows browsers to make these adjustments.

Important Consideration

The economy value does not require the browser to remove colors or backgrounds. It simply permits adjustments when appropriate.

The exact Value

The exact value indicates that preserving an element's specified appearance is important.

Example

.color-swatch {
  background-color: #2563eb;
  color: #ffffff;
  print-color-adjust: exact;
}

The browser is asked to preserve the blue background and white text when printing.

Typical Uses

  • Color palettes and swatches.
  • Charts that use color to distinguish categories.
  • Branding samples and design proofs.
  • Highlighted status labels.
  • Documents where background colors convey important information.

Applying exact to a Container

.brand-preview {
  print-color-adjust: exact;
}

Because the property is inherited, descendants of .brand-preview also receive the value unless they override it.

Preserving Specific Sections

@media print {
  body {
    print-color-adjust: economy;
  }
  .color-palette,
  .chart,
  .brand-preview {
    print-color-adjust: exact;
  }
}

This approach preserves important visual elements without requesting exact color reproduction for the entire document.

Important Consideration

The exact value does not guarantee identical printed colors. Color profiles, printer hardware, browser settings, and user preferences can affect the final output.

The print-color-adjust property is commonly used inside a @media print rule, which applies styles specifically when printing or previewing printed output.

Basic Print Stylesheet

@media print {
  body {
    background-color: #ffffff;
    color: #000000;
    print-color-adjust: economy;
  }
  .color-swatch {
    print-color-adjust: exact;
  }
}

The page uses economical printing by default, while color swatches request preservation of their specified colors.

Hiding Unnecessary Interface Elements

@media print {
  .site-navigation,
  .toolbar,
  .print-button {
    display: none;
  }
  .document-content {
    print-color-adjust: economy;
  }
}

Print stylesheets can remove navigation and controls that are useful on screen but unnecessary on paper.

Preserving Chart Colors

@media print {
  .report-chart {
    print-color-adjust: exact;
  }
  .report-chart .bar-primary {
    background-color: #2563eb;
  }
  .report-chart .bar-secondary {
    background-color: #f97316;
  }
}

This requests preservation of the chart's colors when printing.

Using a Separate Print Stylesheet

Print-specific rules can also be stored in an external stylesheet.

<link rel="stylesheet" href="css/print.css" media="print">

The browser applies this stylesheet when preparing printed output.

Important Consideration

Use print stylesheets to simplify layouts and preserve only the colors that are necessary for understanding the document.

The following example displays two color samples. Both appear with their specified colors on screen, but they request different behavior when printed.

HTML Example

<div class="print-color-demo">
  <div class="print-sample economy-sample">
    <strong>economy</strong>
    <p>The browser may adjust this background when printing.</p>
  </div>
  <div class="print-sample exact-sample">
    <strong>exact</strong>
    <p>The browser is asked to preserve this background.</p>
  </div>
</div>

CSS Example

.print-color-demo {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.print-color-demo .print-sample {
  flex: 1 1 180px;
  padding: 16px;
  border-radius: 4px;
  color: #ffffff;
}
.print-color-demo .economy-sample {
  background-color: #2563eb;
  print-color-adjust: economy;
}
.print-color-demo .exact-sample {
  background-color: #15803d;
  print-color-adjust: exact;
}
.print-color-demo .print-sample p {
  margin: 8px 0 0;
  color: inherit;
}
Browser Result

Both samples display their assigned background colors on screen. The difference becomes relevant when the browser prepares the page for printing.

The economy sample permits browser adjustments. The exact sample requests that the specified appearance be preserved.

Testing the Example

Use your browser's Print Preview feature to inspect how the samples appear. Depending on the browser and print settings, the colors may be preserved, adjusted, or omitted.

Applying exact to the Entire Example

.print-color-demo {
  print-color-adjust: exact;
}

Descendants inherit exact unless they explicitly specify another value. In this example, the economy sample retains its own declared value.

Accessibility Considerations

Printed content should remain understandable even when colors or backgrounds are changed or omitted.

Do Not Rely on Color Alone

Charts, labels, and status indicators should include text, patterns, or other visual distinctions in addition to color.

Maintain Sufficient Contrast

Ensure text remains readable against its background in both color and grayscale printing.

Test Without Background Graphics

Some users disable background printing. Important information should remain visible when backgrounds are removed.

Use Clear Print Layouts

Remove unnecessary decorative elements and maintain readable font sizes, spacing, and document structure.

Respect User Preferences

Users may choose economical printing, grayscale output, or other settings. The document should remain usable under these conditions.

Important Consideration

The exact value cannot guarantee accessible contrast or accurate color reproduction. Test printed output rather than relying on the property alone.

Common Mistakes

Expecting exact to Guarantee Printed Colors

.color-swatch {
  print-color-adjust: exact;
}

This requests preservation of the specified appearance, but browser settings and printer capabilities may override it.

Using an Unsupported Value

.document {
  print-color-adjust: preserve;
}

Use exact to request preservation of colors and backgrounds.

Confusing the Property With Color Definitions

The print-color-adjust property does not assign colors. Use properties such as color, background-color, and border-color to define the appearance.

Applying exact to Every Element

* {
  print-color-adjust: exact;
}

Requesting exact color reproduction throughout a document may increase ink usage unnecessarily. Apply it selectively when possible.

Ignoring Inheritance

The property is inherited. Applying exact to a container can affect all its descendants unless they override the value.

Assuming Print Preview Matches Every Printer

Printed output can vary between printers, operating systems, and browser configurations.

Using Color as the Only Information Indicator

Important information should remain understandable in grayscale or when backgrounds are not printed.

Confusing Standard and Prefixed Properties

Some older browser implementations use -webkit-print-color-adjust. The standard property is print-color-adjust.

Important Considerations

Keep the following points in mind when using print-color-adjust:

  • It controls whether browsers may adjust colors and backgrounds during printing.
  • Its initial value is economy.
  • The property is inherited.
  • It applies to all elements.
  • economy permits browser adjustments intended to improve printed output or conserve ink.
  • exact requests preservation of the specified appearance.
  • The property does not define text, background, or border colors.
  • It does not guarantee exact color reproduction.
  • User printing preferences can override the requested behavior.
  • Printer capabilities and color profiles can affect printed colors.
  • Background graphics may be disabled in browser print settings.
  • The property is useful inside @media print rules.
  • It can also be declared outside a print media query.
  • Use exact for elements where color conveys important information.
  • Use economy for content where color preservation is unnecessary.
  • Inherited values can be overridden on individual descendants.
  • Some older browsers recognize the prefixed -webkit-print-color-adjust property.
  • Test printed documents in multiple browsers when consistent output matters.
  • Check both color and grayscale printing.
  • Ensure information remains understandable without background colors.
  • Use print stylesheets to simplify page layouts.
  • Maintain readable text contrast and appropriate font sizes.
  • Do not rely on color alone to communicate important information.

Browser Support

The CSS print-color-adjust property is Baseline Newly available, with support in current versions of major browsers.

Older browser versions may require the prefixed -webkit-print-color-adjust property. Actual printing behavior can still vary according to browser settings, operating systems, and printer capabilities.

For current compatibility information, visit Can I Use? and search for print-color-adjust.

Always test important print layouts using the browsers and printing environments your visitors are likely to use.

Specifications

The print-color-adjust property is defined in CSS Color Adjustment Module Level 1.

CSS Color Adjustment Module Level 1

The specification defines the economy and exact values and explains how user agents may adjust document colors when producing printed output.

For additional documentation and examples, consult MDN Web Docs.

MDN Web Docs: print-color-adjust