Painting with Black on a Photoshop Layer Mask

Painting with pure black on an active layer mask in Adobe Photoshop completely conceals the pixels of that layer, making the painted areas 100% transparent and revealing the content directly beneath them. This process is the foundation of non-destructive editing in Photoshop, allowing users to hide unwanted elements or blend images together seamlessly without permanently deleting any image data.

The Mechanism of Layer Masks

Layer masks use grayscale values to control the visibility of a layer. In the Photoshop community, this is commonly remembered through the phrase: "Black conceals, white reveals."

When you apply a layer mask, white represents full opacity (100% visible), while pure black represents full transparency (0% visible). Shades of gray in between create varying levels of partial transparency. Therefore, applying pure black with a brush set to 100% opacity tells Photoshop to completely block the layer's pixels from rendering in those specific locations.

Non-Destructive Editing vs. Erasing

Using a black brush on a layer mask produces a visual result similar to the standard Eraser tool, but with a critical difference: it preserves the original pixel data.

  • The Eraser Tool: Permanently deletes pixels from the layer. Once the file is saved and closed, those deleted pixels cannot be recovered.
  • Painting Black on a Mask: Simply hides the pixels behind an invisible barrier. If you make a mistake or want to restore the hidden areas later, you can switch your brush color to pure white and paint over the mask to bring the hidden pixels back.

What Appears on the Canvas

When you paint with black on an active mask, the visual result on your canvas depends on what is situated below that layer in your Layers panel:

  • If another layer is underneath: The content from the underlying layer will show through the masked-out areas, allowing for compositing and blending.
  • If no other layer is underneath: The painted area will show the Photoshop transparency grid (the gray and white checkerboard pattern), indicating completely empty space.

Factors That Modify the Effect

While pure black always represents complete concealment, the behavior of your brush tool can change how that black is applied:

  • Opacity and Flow: If the Brush tool’s opacity or flow is set to less than 100%, the brush will deposit shades of gray instead of solid black with a single stroke. This results in semi-transparency rather than total invisibility.
  • Brush Hardness: A soft-edged brush will create a feathered transition of gray pixels along the borders, resulting in a smooth blend, whereas a 100% hard brush will produce a sharp, defined edge between what is hidden and what is visible.