How to Fill Empty Boxes with Color in a PDF
Question details
The user needs to add a background color to empty boxes within a PDF document.

- Product
- PDF Editor
- Device & OS
- not provided
- Scenario
- Modifying the appearance of specific areas in a PDF file by applying a fill color to empty boxes.
- Observed behavior
- Standard PDF editors do not provide a simple fill command or paint bucket tool for static page elements, making it difficult to color empty boxes directly.
Determine whether the empty boxes in your PDF are interactive form fields or static page elements, as the method to add color will differ based on the box type.
Use a Form Button to Fill Static Boxes
Create a custom button with a specific background color to cover static empty boxes, then flatten the document to make it permanent.
Since PDF editors do not typically have a direct 'paint bucket' fill tool for static background elements, you can use interactive form tools as a workaround. By creating a custom colored button to overlay the box and then flattening the PDF, the color block becomes permanent page content.
Open your PDF editor, navigate to the Form or Prepare Form tools, and choose the option to add a new 'Button' field.
Right-click the new button and open its Properties. Set the border color to 'None' and choose your desired fill color for the background.
Drag the newly colored button over the empty static box. Click and drag its edges so it fits perfectly inside the target area.
Save your document and use the 'Flatten' option in your PDF software. This converts the interactive button into a regular, static colored shape on the page.

Adjust Appearance Settings for Interactive Form Fields
Change the background color directly in the field properties if the empty box is an interactive form field meant for user input.
Easily Fill Boxes and Edit PDFs with WPS Office
WPS Office provides robust PDF editing and form management tools. You can effortlessly insert custom colored shapes to fill static areas or quickly change form field background colors without relying on complex workarounds.
- 1. Open your PDF in WPS Office: Launch WPS Office and open the PDF document containing the boxes you want to color.
- 2. Insert a Colored Shape: Navigate to the 'Insert' tab, select 'Shapes', choose the rectangle tool, and draw it directly over the empty static box.
- 3. Change the Fill Color: Select the newly inserted shape, click on 'Shape Appearance' in the toolbar, set your preferred fill color, and remove the shape outline.
- 4. Edit Form Fields (If Applicable): If the box is a form field, switch to the 'Form' tab, double-click the field to open its properties, and modify the background color under the Appearance settings.

Frequently Asked Questions
Why can't I just use a fill tool like in standard image editors?
Unlike raster image editors (like MS Paint), PDFs are complex document formats composed of vector graphics and text objects. They do not have a universal 'paint bucket' tool, meaning filling specific areas requires adding overlay shapes, modifying object properties, or adjusting form field backgrounds.
Will the colored box show up when the PDF is printed?
Yes. If you add a colored shape or flatten the PDF after placing a button, the color will print. For form fields, ensure the field properties are set to 'Visible' and 'Printable' so the color renders on paper.
How do I remove the fill color if I make a mistake?
If you colored an interactive form field, simply return to its Appearance properties and set the fill color to 'None' or transparent. If you added a custom shape or button and haven't flattened the PDF yet, you can click on the object and press the Delete key.




