Lesson 61 of 80 – Layer Masks
76%

Layer Masks in Photoshop

Layer Masks are one of the most important features in Photoshop for non-destructive editing. A layer mask allows you to hide or reveal different parts of a layer without permanently deleting the original pixels.

Note: White on a layer mask reveals the layer, black hides the layer, and gray creates partial transparency.

1. What is a Layer Mask?

A Layer Mask controls the visibility of different areas of a layer.

Layer
  +
Mask
  ↓
Control Visibility

Instead of deleting pixels, you can hide them using a mask.

2. Why Use Layer Masks?

Layer Masks are useful because they allow you to edit images without permanently removing their original content.

  • Hide unwanted areas
  • Reveal hidden areas
  • Combine photographs
  • Remove backgrounds
  • Create selective effects
  • Blend images together

3. Where is the Layer Mask?

Layer Masks are controlled from the Layers panel.

Select a layer and use the Add Layer Mask button at the bottom of the Layers panel.

Layers Panel
     ↓
Select Layer
     ↓
Add Layer Mask
     ↓
Mask Thumbnail Appears

4. White on a Layer Mask

White on a layer mask means the corresponding part of the layer is visible.

White
  ↓
Visible

If the entire mask is white, the complete layer remains visible.

5. Black on a Layer Mask

Black on a layer mask hides the corresponding part of the layer.

Black
  ↓
Hidden

The hidden pixels are not permanently deleted. They can be revealed again by painting white on the mask.

6. Gray on a Layer Mask

Gray creates partial transparency on a layer mask.

White → Fully Visible
Gray  → Partially Visible
Black → Hidden

This makes gray useful for creating smooth transitions and blending effects.

7. Adding a White Layer Mask

When you add a normal layer mask to a layer, Photoshop generally creates a white mask by default.

Layer
  ↓
Add Layer Mask
  ↓
White Mask
  ↓
Layer Fully Visible

8. Adding a Mask from a Selection

You can create a layer mask directly from a selection.

  1. Create a selection.
  2. Select the required layer.
  3. Click Add Layer Mask.
  4. Photoshop uses the selection to control visibility.

This technique is very useful for background removal.

9. Painting on a Layer Mask

You can use the Brush Tool to edit a layer mask.

Brush + White
     ↓
Reveal

Brush + Black
     ↓
Hide

Make sure the mask thumbnail is selected before painting.

10. Black and White Mask Workflow

A simple way to remember masks is:

WHITE = SHOW
BLACK = HIDE
GRAY  = PARTIAL

This basic rule is used throughout Photoshop masking workflows.

11. Switching Foreground and Background Colors

When editing masks, black and white are commonly used as the foreground and background colors.

Press D to reset the foreground and background colors to black and white.

Press X to swap the foreground and background colors.

12. Layer Mask vs Eraser Tool

Layer Mask Eraser Tool
Hides pixels Deletes pixels
Non-destructive Destructive
Can restore hidden areas Requires undo or backup to restore
Useful for flexible editing Useful for permanent removal

13. Selecting the Mask Thumbnail

A layer can have both an image thumbnail and a mask thumbnail.

Click the mask thumbnail when you want to paint or edit the mask. A border around the mask thumbnail indicates that it is selected.

Tip: If your brush is changing the image instead of hiding or revealing areas, check whether the mask thumbnail is selected.

14. Disabling a Layer Mask

A layer mask can be temporarily disabled to compare the masked result with the original layer visibility.

This is useful when checking whether the mask is producing the desired result.

15. Removing a Layer Mask

If a mask is no longer needed, it can be removed from the layer.

Photoshop can provide options to apply the mask or discard it.

Mask
 ↓
Remove Mask
 ↓
Apply or Discard

16. Layer Masks for Background Removal

Layer Masks are commonly used when removing backgrounds.

Subject Selection
      ↓
Layer Mask
      ↓
Background Hidden
      ↓
Transparent Subject

The original background pixels remain available underneath the mask.

17. Layer Masks for Image Blending

Layer Masks allow two or more images to blend together smoothly.

Image A
   +
Image B
   ↓
Layer Mask
   ↓
Blended Composition

Soft brushes and gradients can create smooth transitions between images.

18. Layer Masks with Gradient Tool

A gradient can be applied to a layer mask to create a gradual transition between visible and hidden areas.

White → Gray → Black
       ↓
Smooth Visibility Transition

This is useful for blending photographs and creating soft fades.

19. Layer Masks for Selective Effects

A mask can be used with an adjustment layer to apply an effect only to selected areas.

Adjustment Layer
      +
Layer Mask
      ↓
Effect on Selected Area

For example, you can make only the background black and white while keeping the subject in color.

20. Layer Masks and Opacity

A layer mask controls which areas are visible, while layer opacity controls the overall transparency of the layer.

Mask Opacity
Controls specific areas Controls the whole layer
Uses black, white and gray Uses a percentage

21. Soft Brush for Smooth Masks

A soft-edged brush can create smoother transitions when painting on a layer mask.

This is useful around soft edges, shadows and blended photographs.

Soft Brush
    ↓
Smooth Mask
    ↓
Natural Transition

22. Layer Masks for Photo Compositing

Photo compositing combines elements from multiple images into one design.

Layer Masks help hide unwanted portions of each image while keeping the useful parts visible.

Photo 1
   +
Photo 2
   +
Photo 3
   ↓
Layer Masks
   ↓
Final Composition

23. Practical Example: Replace Background

Use a layer mask to replace the background of a portrait.

  1. Open the portrait.
  2. Select the person.
  3. Add a layer mask.
  4. Refine the mask around the subject.
  5. Open a new background image.
  6. Place the background below the subject layer.
  7. Adjust the position and size.
  8. Check the edges.

24. Practical Example: Blend Two Photos

You can blend two photographs using a layer mask and gradient.

  1. Place the second photo above the first photo.
  2. Add a layer mask to the upper layer.
  3. Select the Gradient Tool.
  4. Use a black-to-white gradient on the mask.
  5. Adjust the gradient direction.
  6. Check the transition between both images.

25. Practical Example: Selective Black and White

Create a design where the background is black and white but the main subject remains in color.

Original Photo
      ↓
Black & White Adjustment Layer
      ↓
Layer Mask
      ↓
Reveal Subject
      ↓
Subject in Color

26. Common Layer Mask Mistakes

  • Painting on the image instead of the mask
  • Forgetting that black hides
  • Forgetting that white reveals
  • Using a hard brush on soft edges
  • Creating rough selections
  • Not zooming in to check edges
  • Deleting the mask unnecessarily
  • Ignoring the original layer

27. Beginner Practice

Practice the basic Layer Mask workflow with a photograph.

  1. Open a photograph.
  2. Duplicate the image layer.
  3. Add a white layer mask.
  4. Press D to reset colors.
  5. Select the Brush Tool.
  6. Paint black on the mask.
  7. Observe the hidden area.
  8. Press X to switch to white.
  9. Paint over the hidden area.
  10. Observe the area becoming visible again.

28. Practical Project: Poster Design

Create a promotional poster using Layer Masks.

Background
    +
Photo
    +
Layer Mask
    +
Text
    +
Logo
    ↓
Professional Poster

Use masks to blend the photograph with the background and create a clean visual composition.

29. Recommended Workflow

  1. Keep the original layer safe.
  2. Duplicate the layer when necessary.
  3. Create a selection if required.
  4. Add a layer mask.
  5. Check whether the mask thumbnail is selected.
  6. Use black to hide unwanted areas.
  7. Use white to reveal areas.
  8. Use gray or a soft brush for smooth transitions.
  9. Zoom in and refine the edges.
  10. Save the Photoshop project.

30. Summary

Layer Masks provide a powerful non-destructive way to control the visibility of different areas of a layer.

White reveals, black hides and gray partially reveals the layer. Masks can be combined with selections, brushes, gradients and adjustment layers to create professional image-editing effects.

Layer Masks are especially useful for background removal, image blending, selective effects, photo compositing and poster design.

📌 Key Points

  • Layer Masks control the visibility of layer areas.
  • White reveals the layer.
  • Black hides the layer.
  • Gray creates partial transparency.
  • Layer Masks are non-destructive.
  • Black and white brushes can edit masks.
  • Gradients can create smooth mask transitions.
  • Masks are useful for background removal.
  • Masks can blend multiple photographs.
  • Layer Masks are useful for selective adjustment effects.

🧠 Quick Quiz

Question: What does black do on a Photoshop Layer Mask?