Docento.app Logo
Docento.app
Color palette and design tools
All Posts

How to Change PDF Background Color for Reading Comfort or Branding

April 30, 2026·8 min read

A PDF's background is whatever color it was authored to be, almost always white, sometimes off-white, occasionally something brand-specific. Changing it after the fact is one of those workflows that sounds trivial and turns out to have surprising depth. There are several different things you might mean by "change the background color", and each one has different tools and trade-offs. This guide walks through them.

What "background color" can mean

At least three distinct operations:

  1. Reader-only background. Change how the PDF appears on your screen without modifying the file. Useful for late-night reading or accessibility, invisible to anyone else.
  2. Add a colored layer behind the content. A persistent change to the file: every page gets a tinted background that everyone sees.
  3. Replace the original white with a different color. Edit the existing page content so the white background becomes something else.

Each option has its own tool path. Pick deliberately based on whether you need the change to live on your screen, in the file, or in the file with the original content preserved.

Reader-only: change how the PDF looks for you

If you just want to read with less eye strain at night, your reader can change the display without touching the file:

  • Adobe Acrobat Reader. Edit → Preferences → Accessibility → "Replace Document Colors" → set custom background and text colors. Affects only your view; the file is unchanged.
  • Foxit Reader. Tools → Preferences → Accessibility → Document Colors Options.
  • PDF-XChange Editor. Edit → Preferences → Display → Replace document colors.
  • macOS Preview. Tools → Accessibility → Increase Contrast / Reduce Transparency (limited but works for high-contrast).
  • Chromium-based browser viewers. Most do not change PDF backgrounds; install a browser extension like "Dark Reader for PDF" if you want night mode for the PDF viewer.
  • iOS / Android readers. Most major PDF apps have a "Sepia" or "Night" mode that recolors the view without modifying the file.

For everyday reading comfort, this is the right answer. Nothing about the file changes; no one else sees the difference.

Persistent change: add a colored layer behind the content

If you want every reader who opens the file to see a colored background, say, you are converting a black-on-white document to a brand-tinted version, add a colored rectangle behind every page's content. Tools:

Adobe Acrobat Pro. Tools → Edit PDF → More → Background → Add Background. You can set a color, opacity, and apply to specific pages. The cleanest GUI workflow.

Foxit PDF Editor. Page → Background → Add. Same idea.

LibreOffice Draw. Open the PDF, set the page background color, re-export as PDF. Simple for single-page documents; can flatten content depending on how Draw imports.

CLI with pdftk or qpdf. Trickier, but you can stamp a colored background PDF onto every page of the target:

  1. Create a single-page PDF with the desired solid color background
  2. Stamp it onto the target with pdftk target.pdf background tint.pdf output result.pdf, see pdftk introduction
  3. Or use qpdf --underlay tint.pdf -- target.pdf result.pdf, see qpdf introduction

This puts the tint behind the original content (it shows through the white background of the original).

Browser-based. Docento.app lets you change the background color in the browser and save the result.

Important: white is not always transparent

Most PDFs have a white background, but "white" in a PDF often means actually painting a white rectangle, not leaving the background transparent. If you stamp a colored background behind the page, the white rectangle still covers it, and the result is unchanged.

To get the colored background to show through, you need to either:

  • Remove the white background fill before stamping. Some PDF editors expose this as a layer toggle; some don't.
  • Replace the white with your new color via direct content editing (Approach 3 below).
  • Apply the new color in front, with reduced opacity, produces a tinted overlay rather than a clean replacement.

For documents where you control the source, the cleanest fix is going back to the authoring tool, changing the page background, and re-exporting.

Replace the original white: direct content editing

For surgical control, change the white background to a specific color without disturbing the text and images, you need a PDF editor that can edit the content stream.

In Adobe Acrobat Pro:

  1. Tools → Edit PDF
  2. Click the white background rectangle (it is a real PDF object)
  3. Right-click → Properties → Fill → choose new color
  4. Save

In Foxit: similar workflow under Edit Object.

For programmatic editing, libraries like pikepdf (Python) can iterate over a page's content stream and change fill colors:

import pikepdf

with pikepdf.open("input.pdf") as pdf:
    for page in pdf.pages:
        # iterate content stream, find white fill operators, replace
        ...
    pdf.save("output.pdf")

This is fragile, content streams vary wildly between PDF producers, and "white background" might be one rectangle, a stack of rectangles, or implied transparency. For controlled inputs (PDFs you generate yourself), it works. For arbitrary inputs, GUI editing is safer.

Per-page vs whole-document

Most tools let you apply the background change to all pages, specific pages, or page ranges:

  • All pages, the default; useful for branding a complete document.
  • Specific pages, useful when adding a colored cover or a section divider.
  • Odd/even, sometimes useful for double-sided print where odd pages get one tint and even get another.

For applying different tints to different sections, split the PDF, tint each section separately, then combine them.

Adding a watermark vs adding a background

A watermark sits behind or on top of the content with reduced opacity. A background fills the entire page edge to edge. They use similar mechanics but produce different visuals:

  • Watermark: typically text or logo, partially transparent, used for branding or "DRAFT" stamps. See how to add a watermark to PDF.
  • Background: solid or gradient, edge to edge, used for reading comfort or strong branding.

A single PDF can have both, a tinted background plus a "CONFIDENTIAL" watermark over it.

Reader-side tinting for accessibility

Some readers explicitly accommodate users with light sensitivity, dyslexia, or other accessibility needs:

  • Black background with white text (high contrast)
  • Cream/yellow background with black text (preferred by some dyslexic readers)
  • Custom color combinations

For accessibility-first PDFs, the right answer is usually leaving the file white and letting each reader apply their preferred color scheme, because every user's accessibility needs are different. Baking in a specific dark background can actually hurt accessibility for users whose readers cannot override it.

For more on accessibility considerations, see PDF accessibility guide and PDF/UA accessibility standard explained.

Common gotchas

Print output ignores the new background. Some readers strip backgrounds when printing to save ink. Test print before assuming the background travels.

File size balloons. Adding a full-page colored rectangle to every page increases file size, especially with gradients. Compress the result if needed.

Text becomes hard to read. Light text on a light background, dark text on a dark background, always check legibility on every page after the change.

Image transparency interaction. Images with transparent areas now show the new background through them. Sometimes desired, sometimes ugly. Inspect image-heavy pages carefully.

Annotation backgrounds. Comment bubbles, highlights, and stamps have their own colors that may clash with the new page background. Re-color annotations if needed.

Tagged PDF artifacts. A tagged PDF marks decorative backgrounds as artifacts so screen readers skip them. Adding a new background needs to be tagged the same way, or screen readers may announce "Rectangle. Rectangle. Rectangle." See tagged PDF vs untagged PDF.

Practical recipe for branding a document

You have a black-on-white PDF and want it on a brand cream background:

  1. Open in Acrobat Pro (or Docento.app)
  2. Tools → Edit PDF → Background → Add → choose color (the brand cream)
  3. Apply to all pages
  4. Save as a new file
  5. Open in another viewer to verify

If the original white still shows through, the underlying file has explicit white fills. Either ask the original author to re-export with no fill, or accept the result is a tinted overlay rather than a clean replacement.

Takeaway

Changing PDF background color splits into three operations: reader-only display change (best for personal comfort), adding a colored layer behind content (good for light branding), and replacing the original white directly (cleanest result, requires content editing). For permanent file changes, Acrobat Pro, Foxit, and Docento.app handle the operation well. Verify legibility and check print output before sharing. For accessibility-first PDFs, leave the file white and let each reader apply their own color scheme, that respects the widest range of user needs.

Related Posts