A white PDF page being recolored with a soft blue background in an online PDF editor with a color picker open

How to Change the Background Color of a PDF

A practical guide to changing the background color of a PDF, laying a solid color behind every page, matching an exact shade, and saving it so the change survives printing and sharing.

To change a PDF's background color, open the file in an online editor, add a full-page colored rectangle behind your text, set it to the color you want, and send it to the back so it sits under the content. Then save and download the file so the background is written into the document and shows when you reopen, print, or share it. It takes about a minute per page.

Key takeaways

  • PDFs have no built-in "page color" setting, so you change the background by placing a colored shape behind the existing content rather than flipping a single switch.
  • Send the colored layer to the back so it sits under your text and images instead of covering them; otherwise you hide the very content you want to keep.
  • Save and download afterward so the background is baked into the file, not just shown in your current viewing session.
  • Use a hex code for an exact shade when matching a brand, a template, or other pages, rather than eyeballing a swatch.
  • The biggest trap is opaque white text or boxes already in the file: a new background can clash with them or leave white halos around old elements.
  • A subtle tint reads better than a saturated color, and very dark backgrounds need light text to stay legible on screen and on paper.

What "background color" really means in a PDF

A PDF does not store a page background the way a word processor or a website does. There is no single "page color" attribute you can change. Each page starts out transparent or white, and everything you see, text, images, lines, is content drawn on top of that blank canvas.

So when you change a PDF's background color, you are not editing a hidden setting. You are adding a new element: a colored rectangle that covers the whole page and sits beneath all the existing content. Done right, the original text and images float on top of your new color, and the page looks like it always had that background.

This framing matters because it explains every quirk you will hit. The order of layers decides whether your color sits behind the text or buries it. Opaque white shapes already in the file will keep showing as white patches. And the change is only real once you flatten or export it. Keep the layer model in mind and the rest follows naturally.

How do I change a PDF's background color?

Here is the direct path using an online editor. You upload the file, drop a full-page colored rectangle, push it behind the content, and download the result.

  1. Open your PDF in the editor. Go to the PDF editor and upload the file. Every page opens in your browser, ready to edit.
  2. Add a rectangle shape. Find the shapes or rectangle tool in the toolbar and draw a rectangle that covers the entire first page, edge to edge, so no white border shows.
  3. Set its fill color. With the rectangle selected, open the fill color control and pick your background color. Type a hex code such as #F1F5F9 for a precise, soft shade.
  4. Remove any border. Set the rectangle's outline or stroke to none, so you do not get a thin line framing the page.
  5. Send it to the back. Right-click the rectangle, or use the layer or arrange menu, and choose "Send to back." The color now sits under your text and images instead of on top of them.
  6. Check the content shows through. Confirm the original text and images are visible over the new color. If anything is hidden, the rectangle is still on top of it.
  7. Repeat for other pages. Do the same on each page you want recolored. Copy and paste the rectangle to keep the exact same color and size across pages.
  8. Save and download. Export the file. The background color is now part of the document and travels with it everywhere.

That is the whole task for an editable PDF. The remaining work is getting the color exactly right and handling the few cases where old elements fight your new background.

The catch: white boxes and halos nobody warns you about

This is the part that surprises people, so it is worth being blunt.

Many PDFs already contain opaque white shapes you cannot see against a white page: a white text box behind a heading, a white panel behind a logo, or a white-filled image background. The moment you put a colored rectangle behind everything, those hidden white shapes suddenly stand out as bright rectangles floating on your new color. Nothing went wrong with your edit; you just revealed boxes that were invisible before.

There is no single fix, but there are honest options. Often you can select the offending white shape and either delete it, set its fill to match your new background, or make it transparent. For a logo or image with a baked-in white background, the cleaner answer is to replace it with a transparent version (a PNG with no background) rather than fighting the white block.

Symptom after adding a backgroundLikely causeFix
Bright white rectangle around a headingOpaque white text box in the fileDelete it, recolor it, or make it transparent
White halo around a logo or photoImage has a baked-in white backgroundSwap in a transparent PNG of the image
Text disappears entirelyColored rectangle is on top, not behindSend the rectangle to the back
Thin line framing the whole pageRectangle has a visible borderSet the shape outline to none

The other classic miss is layer order. If your text vanishes the instant you fill the rectangle, the rectangle is sitting on top of the content, not behind it. "Send to back" is the one step people forget, and it is the difference between a tinted page and a blank colored slab.

Getting an exact background color, not just "close enough"

Picking a pale gray from a palette is fine for a quick read. But when you are matching a brand, a deck, or other pages in the same set, "close enough" shows up as a visible seam between pages. The fix is to work in hex codes rather than swatches.

A hex code is a six-character value like #FEF3C7 that names one exact color. Brand guides list them, design files export them, and any color you have used elsewhere can be written as one. In the editor's color picker, look for a field where you can type the hex value, paste in the code, and the rectangle snaps to that precise shade.

  1. Find the target hex code. Pull it from a brand guide, a design file, or by sampling an existing element with a color picker.
  2. Open the custom color picker in the editor instead of relying on preset swatches.
  3. Type or paste the hex code into the field, with or without the # as the field expects.
  4. Apply and compare the page against your reference to confirm the match.

One trade-off worth naming: a saturated, high-energy background fights with body text and tires the eyes. For anything meant to be read, a light tint, soft gray, pale blue, warm cream, almost always reads better than a bold color. Save the strong shades for covers and section dividers, where there is little text to compete with.

When you want an image or pattern, not a flat color

A solid color is the simplest background, but it is not the only one. If you want a gradient, a watermark texture, a subtle paper grain, or a branded image behind your text, the technique is the same in spirit: place the visual element on the page and send it to the back, so your content sits on top.

The mechanics differ enough to deserve their own walkthrough. If that is what you are after, follow how to add a background image or pattern behind PDF text, which covers sizing the image to the page, lowering its opacity so text stays readable, and keeping it behind the content. A flat color and a background image solve the same problem from two directions; pick the flat color when you want speed and legibility, and the image when you want texture or branding.

One honest caution for image backgrounds: they add file size and can make text harder to read if the picture is busy. A flat tint never has that problem, which is part of why it is the safer default for documents people actually have to read.

A different goal: dark mode for reading

Some people search for "change PDF background color" when what they really want is a darker, easier-on-the-eyes page for night reading, not a permanent edit to the file. Those are two different jobs.

If you only want comfortable reading and do not need to change the saved document, inverting the colors in your PDF viewer is faster and reversible. That flips the white page to dark and the black text to light, just for your screen, without touching the file. We cover that route in how to invert PDF colors for easier night reading.

The distinction is simple. Adding a colored rectangle changes the file for everyone who opens it. Inverting colors in a viewer changes only what you see, and resets the next time. Choose the permanent edit when the background needs to travel with the document; choose inversion when you just want to read in the dark tonight.

Platform variations

You can recolor a PDF background on any device, but the tools and their limits differ. Here is the honest summary.

PlatformHowAdds a real page background?Notes
Online editor (any device)Upload, draw a rectangle, send to back, downloadYesWorks the same on Windows, Mac, iPhone, Android; nothing to install
Adobe Acrobat Pro (paid)Edit PDF, Background, Add, choose colorYesHas a dedicated background feature; subscription-based and heavy for one page
Mac PreviewNo page-color option; only annotationsNoCannot set a page background; you can draw a filled box but layering is limited
Microsoft Word (via export)Page Color, then export to PDFYes, if you start in WordOnly works if you have the editable source, not the finished PDF
Mobile (built-in viewers)Annotation onlyNoAdd notes on top; cannot lay a true background behind content

The practical takeaway: most free, built-in tools either skip backgrounds entirely or only let you add marks on top of the page. To put a real color behind existing content in a finished PDF, you need a browser-based editor or paid desktop software. The online route behaves identically across every operating system, which helps when you move between a laptop and a phone.

Making the new background permanent

Adding a background and seeing it on screen is only half the job. The change has to be saved into the file, or it does not exist for anyone else.

In a dedicated editor, the colored rectangle becomes part of the document when you export, so a normal download locks it in. The step people skip is finishing that export: add the background, push it to the back, then save or download. If you close the tab without exporting, the work is gone. Once downloaded, the background is written into the PDF itself, so it shows the same way when you reopen the file, email it, or print it.

Two print notes worth knowing. First, colored backgrounds use ink; a full-page color over many pages burns through a cartridge fast and may be skipped by printers set to ignore background graphics. Second, test-print one page before committing a long document, because screen color and printed color rarely match exactly.

A quick, accurate word on privacy, since you are uploading a document. An online editor processes your file on a server to make the edit, and files are not kept long-term. That is normal for browser-based editing, and worth knowing before you upload anything sensitive.

A worked example

Say you have a three-page proposal on plain white, and your brand uses a soft blue-gray, #EEF2F7, behind everything. You open the proposal in the PDF editor, draw a rectangle across the whole first page, set its border to none, and paste #EEF2F7 into the fill picker. The page turns a gentle blue-gray, but the heading is now boxed in white, a hidden text box you just exposed. You select that box and make it transparent, and the heading sits cleanly on the tint. You send the rectangle to the back, copy it, and paste the same rectangle onto pages two and three so all three match exactly. You download the file, reopen it, and confirm the background holds across every page and prints the way you expect. Three pages recolored, content untouched, done.

FAQ

How do I change a PDF's background color?

Open the PDF in an online editor and draw a rectangle that covers the whole page. Set its fill to the color you want, ideally by typing a hex code for an exact shade, and remove its border. Then send the rectangle to the back so it sits under your text and images instead of covering them. Save and download the file so the background is written into the document and shows when you reopen, print, or share it.

Why does my text disappear when I add a background color?

Your colored rectangle is sitting on top of the content instead of behind it. The fix is to select the rectangle and choose "Send to back" from the layer or arrange menu, which pushes the color underneath your text and images so they show through. If a bright white box appears around a heading after that, you have exposed a hidden white text box; delete it, recolor it, or make it transparent.

Can I change the background color of only one page?

Yes. Add the colored rectangle to just the page you want and leave the others alone; backgrounds are added per page, not document-wide. This is useful for a cover page or a single section divider in a different color. To recolor several specific pages with the same shade, copy the rectangle and paste it onto each target page so the color and size stay identical across them.

How do I match an exact brand background color?

Use the hex code rather than guessing from swatches. Find the target color's six-character code, such as #EEF2F7, from a brand guide or design file. In the editor, open the custom color picker, type or paste that code into the hex field, and apply it to your full-page rectangle. The shape snaps to that precise shade, which is far more reliable than eyeballing a palette and ending up close but not exact.

Will a colored background make my PDF print badly or use too much ink?

It can, so plan for it. Full-page color uses a lot of ink, and some printers are set to ignore background graphics, which can leave the color off entirely. Screen color and printed color also rarely match exactly. Before printing a long document, test-print a single page to check both the ink cost and the actual printed shade. A light tint is friendlier on ink and contrast than a deep, saturated color.

Usama Ramzan
Written byUsama RamzanFounder, Online PDF Edits

Usama Ramzan is the founder of Online PDF Edits, a browser-based PDF editor built to change text, images, and tables in existing PDFs without breaking their fonts, spacing, or multi-page layout. He writes about practical PDF editing, document workflows, and the engineering behind layout-safe editing.

Recommended reading

View all articles →