ThisCalculator

Everyday

Fill In an Area in Photoshop: Tools and Steps

Updated · Standard formula, shown below

Fill In an Area in Photoshop: Tools and Steps

To fill in an area in Photoshop, select the part of the image you want to change, choose a fill method, and apply a color, pattern, or nearby image content. For a simple solid color, use the Paint Bucket tool or the Fill command; for a natural-looking repair, use Content-Aware Fill or Generative Fill where available.

What “Fill” Means in Photoshop

Filling means replacing pixels inside a defined region. The region might be a selection, a shape, a layer’s transparent pixels, or an area you click with a paint tool. The result depends on the selected layer, the active selection, and the fill method, so checking those three things first prevents many mistakes.

Photoshop offers several kinds of fill:

  • Foreground or background color: applies one of the two colors shown at the bottom of the toolbar.
  • Pattern: repeats a chosen pattern inside the area.
  • Paint Bucket: fills contiguous pixels of similar color, or a selection, according to its settings.
  • Content-Aware Fill: analyzes surrounding pixels and synthesizes replacement image content.
  • Generative Fill: creates or modifies image content from a selection and, optionally, a text prompt in versions that provide the feature.

Fill a Selection With a Solid Color

This is the most predictable method when you already know the color you want. Make the selection with a tool such as the Marquee, Lasso, or Quick Selection tool, then set the foreground color by clicking the foreground color swatch and choosing a color.

  1. Select the layer you want to edit in the Layers panel. For a non-destructive result, add a new blank layer above the image layer.
  2. Create the selection around the target area. Use the selection tools’ options to adjust edge softness or refine the boundary if needed.
  3. Set the foreground color. You can use the Color Picker or sample a color from the image with the Eyedropper tool.
  4. Choose Edit > Fill. In the dialog, select Foreground Color, then confirm. In many Photoshop versions, the keyboard shortcut fills with foreground color; on Windows it is Alt+Backspace, and on macOS it is Option+Delete.
  5. Deselect when finished using Select > Deselect or Ctrl+D (Windows) / Command+D (macOS).

For a quick fill, the foreground and background colors can also be applied with shortcuts: Alt+Backspace (Windows) or Option+Delete (macOS) uses the foreground; Ctrl+Backspace or Command+Delete uses the background. Shortcuts can vary with keyboard layout and application settings, so use the menu if one does not work.

Use the Paint Bucket Tool

The Paint Bucket is useful for coloring a flat region, such as a section of a simple illustration. It fills pixels that are similar in color and connected to the spot you click. Select the Paint Bucket from the toolbar; it may be grouped with the Gradient tool. Choose a foreground color, then click inside the intended region.

Review the options bar before clicking. Tolerance controls how different a pixel’s color can be from the clicked pixel and still be included. A low value targets close matches; a higher value includes a broader range. Contiguous limits the fill to connected pixels. Turning it off can fill matching colors across the whole active layer or selection. All Layers lets the tool sample visible image information from multiple layers, while the fill is applied to the active layer.

If the fill spills beyond a line drawing, lower Tolerance, enable Contiguous, or make a selection first. If small gaps remain, the outlines may not be fully closed, or anti-aliased edge pixels may fall outside the tolerance. A selection gives firmer boundaries than relying on color similarity alone.

Fill With Nearby Image Content

For removing an object or replacing a patch of a photograph, a flat color usually looks unnatural. Content-Aware Fill uses surrounding image information to create a plausible replacement. Select the object, then open Edit > Content-Aware Fill if that command is available. The workspace lets you inspect the sampling area and preview the result before applying it.

Good selections usually include a small margin around the object, but avoid including unrelated details. In the Content-Aware Fill workspace, adjust the green sampling overlay so Photoshop samples appropriate nearby areas. For example, when removing a small mark from a plain wall, sample the wall rather than a nearby picture frame. Apply the result to a new layer when possible so you can refine or undo it independently.

Generative Fill is another option in versions that include it. Make a selection and choose Generative Fill from the contextual task bar or the relevant menu, then enter a concise prompt—or leave it blank when you want Photoshop to extend or replace content without specifying an object. Review the generated variations carefully: generated details can be visually convincing but may not match the original scene precisely.

Choose the Right Method and Keep Edits Reversible

Choose based on what the region should look like, not just how fast the tool is:

  • Use a solid-color fill for graphics, backgrounds, and clearly bounded selections.
  • Use the Paint Bucket for connected areas of similar color, especially flat artwork.
  • Use Content-Aware Fill for straightforward photographic repairs that should resemble surrounding pixels.
  • Try Generative Fill for broader additions or replacements, then inspect the result for invented or inconsistent details.
  • Use a pattern fill when a repeated texture is intentional, such as a decorative graphic surface.

Selections and fills can be edited more safely on a separate layer. You can also add a layer mask to control where the filled layer shows through. This makes it possible to soften an edge or restore part of the original without painting directly over the source image. Save a copy of important work, especially before applying a destructive edit to the only image layer.

Common Problems and Fixes

Nothing changes: confirm that the correct layer is selected, that it is visible and unlocked, and that the selection is not empty. A layer mask may be active instead of the image thumbnail; click the image thumbnail if you intend to edit pixels.

The whole layer changes: check whether a selection is active. Without one, a Fill command can affect the entire layer. Undo immediately, then create or verify the selection before trying again.

The fill has a halo or rough edge: selection edges may be too hard, too soft, or poorly aligned. Refine the selection, adjust feathering modestly, or use a mask to blend the boundary. A large feather can blur the fill into areas that should remain sharp.

The color looks different than expected: inspect the active foreground color, layer opacity, blend mode, and any adjustment layers. Also make sure you are filling the intended layer rather than a mask or a hidden layer.

Frequently Asked Questions

How do I fill an area with the background color?
Make a selection, choose the layer to edit, and use Edit > Fill with Background Color. The background color is the rear color swatch in the toolbar.

How do I fill only the selected area?
Create and check the selection before applying a fill. Photoshop confines the operation to the selection boundary; deselect afterward to avoid accidentally reusing it.

Why does the Paint Bucket fill too much?
Tolerance may be too high, Contiguous may be disabled, or the clicked area may be connected to the rest of the image. Lower Tolerance, enable Contiguous, or create a selection to define the boundary.

Can I fill an area without changing the original image?
Yes. Add a blank layer above the image and apply the color fill there. For repairs, use a separate layer or a mask when the chosen workflow supports it.

What is the difference between Fill and Content-Aware Fill?
A standard fill applies a chosen color or pattern. Content-Aware Fill samples surrounding image content to synthesize a replacement, which is more suitable for many photo repairs.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.