Photography Life

PL provides various digital photography news, reviews, articles, tips, tutorials and guides to photographers of all levels

  • Lens Reviews
  • Camera Reviews
  • Tutorials
  • Compare Cameras
  • Forum
    • Sign Up
    • Login
  • About
  • Search
Home → Post Processing

Range Masks Explained: One of Lightroom’s Most Powerful Tools

By Spencer Cox 14 Comments
Last Updated On September 23, 2021

For years, Lightroom’s tools for selective adjustments left something to be desired. The “detect edges” feature often adds noise to soft areas like clouds, whereas the standard brush and gradient tools can affect too much of the image. Range masking fixes those problems.

Table of Contents

  • What Is Range Masking in Lightroom?
  • How to Use Luminance Range Masks
  • How to Use Color Range Masks
  • What Are Depth Range Masks?
  • Downsides of Range Masks
  • Conclusion

What Is Range Masking in Lightroom?

Range masking was added to Lightroom a few years ago and has since become one of my favorite post-processing tools. Lightroom has two types of range masking: luminance (which selects portions of the image by brightness) and color (which does the same by color). Both are very powerful ways to apply local adjustments to the exact areas of an image you want.

For example, say that there’s a bright cloud in your photo that you want to darken without affecting anything else in the photo. You don’t need to worry about painting a perfect mask around the cloud with the brush tool. Instead, you can use a range mask to tell Lightroom to selectively edit the bright tones in the cloud and completely ignore the rest of the sky. Here’s how such a thing looks in practice, starting with the original photo:

Landscape with Bright Cloud
Panasonic S1R + 24-105/F4 @ 105mm, ISO 100, 1/125, f/8.0

And then Lightroom’s preview of the range mask I created:

Range Mask Selection of Cloud in Landscape

At this point, any edits I make will affect only the areas highlighted in red, which allows for very nice selective post-processing. That’s what makes range masks so powerful.

How to Use Luminance Range Masks

The process of using range masks in Lightroom is fairly straightforward. Here are the steps if you’re planning to create a luminance mask:

With Lightroom’s gradient or brush tools, paint over the entire area that you want to affect. It’s fine to include some extra areas, but make sure to get 100% of the regions you need.

General Selection of Cloud in Landscape

Look at the bottom of the local adjustment panel. You’ll see a section called “range mask. Change it from “off” to “luminance,” and this full dialog pops up:

Luminance Range Mask Dialog Lightroom

Click “show luminance mask” to see Lightroom’s preview and get a good sense of what areas you’re affecting. Then, use the “range” slider to tell Lightroom which tones to affect. For example, if you set the slider from 0 to 30, you’ll only be affecting the dark tones – and if you set the slider from 35 to 65, you’ll only be affecting the midtones. In this case, I chose a range of 68 to 100, which isolated the brightest tones in the clouds. (You can also use the eyedropper tool to select tones, if you prefer.) Again, this is the mask I ended up with:

Range Mask Selection of Cloud in Landscape

After that, use the “smoothness” slider to soften the mask or give it harsher edges. The default value of 50 is usually good, but feel free to adjust if you’re getting halos or harsh effects.

Now it’s time to turn off “show luminance mask” and start actually making your edits! Any editing you do will only affect the tones you’ve selected (and, of course, only in the area of your brush/gradient).

Same landscape with cloud darkened
Darkening the brightest areas of the clouds was easy with a luminance range mask.

How to Use Color Range Masks

The color range mask works in a similar way, except it selects areas based on color rather than brightness values.

Rather than using a simple slider to include or exclude certain tones, the color range mask tool uses an eyedropper tool instead. It looks like this:

Color Range Mask Dialog

All you need to do is click on the eyedropper tool, then click on something in your photo of whatever color you want to adjust. Lightroom paints a mask over those colors and excludes everything else. Pretty easy!

You’ll notice that the only slider involved is called “amount.” When the slider is at 0, only the areas of the exact color you selected will be included in the mask. On the other hand, when it’s set to 100, Lightroom barely takes your color selection into account and instead applies the gradient/brush almost at full strength – almost as if there were no range mask at all. 50 is the default value and usually a good choice, but you may want a lower value if you want more isolated edits to the exact colors you’ve selected.

There are also two extended ways to use the eyedropper tool if the one-click method isn’t working well enough:

  1. Hold down the Shift key while you click a color, and you can choose up to five colors for Lightroom to add to the range mask.
  2. Rather than just clicking, you can click and drag to select a much larger area of the image for Lightroom to analyze the colors. (This can be used in combination with pressing the Shift key if you want to have multiple such areas selected.)

If you’ve added multiple color range mask eyedroppers, and you’re unhappy with one or more of them, you can Alt+Click (Option+Click on Mac) to delete any that are bothering you.

I used range masking for the image below because I was finding it difficult to brighten the yellow flowers selectively any other way. This version is before I added the range mask:

Flowers before foreground brightening
Canon EOS R5 + RF 35mm F1.8 MACRO IS STM @ 35mm, ISO 100, 1/80, f/10.0

I couldn’t use the HSL panel for the image above because it was adjusting the yellow colors in the sky as well (and adding some color noise). A standard gradient tool – with or without luminance masking – wasn’t a terrible option, but it selected a bit too much of the flowers’ stems for my taste. So, the color range mask was the way to go.

In this image, I created a gradient that only affected the foreground. Then I used the click+drag method in the color range mask to isolate the yellow tones:

Click and Drag with Color Range Mask to Select Colors

You’ll note that this does include a few of the green tones as well, but is mainly focused on the yellow flowers. Then it was a simple matter of adjusting the sliders in the gradient panel to brighten the flowers to my liking. Here’s the final result:

Yellow Flowers with a Distant Mountain
Canon EOS R5 + RF 35mm F1.8 MACRO IS STM @ 35mm, ISO 100, 1/80, f/10.0

Note that with the color range mask, there is no “show color mask” option, so it can be a bit harder to tell what areas you’re affecting. You can get around this by simply pressing the “o” key on your keyboard, which is the shortcut for showing your local adjustment mask in Lightroom.

What Are Depth Range Masks?

You may notice that there’s a third option in Lightroom’s range masking tool, alongside luminance and color: depth. With most cameras, this option is going to be grayed-out, and you won’t be able to use depth range masking at all. 

However, if you shot a .HEIC image file with a camera that supports depth mapping, you’ll be able to use this tool to selectively mask areas by how far away they are. This applies to some Apple iPhones when shot in portrait mode but generally isn’t found on DSLRs or mirrorless cameras yet. In the future, we may see it become more commonly available.

Downsides of Range Masks

In general, range masks don’t have very many downsides and cause very few artifacts in a photo. It’s one reason why I prefer them over the “detect edges” tool or the HSL panel most of the time. Still, if you do an overdramatic edit, you can end up getting some halos with range masking that may not have shown up with a more standard gradient or soft brush too.

Another minor downside is that the tools may not perfectly mask your subject in every situation. For example, different parts of people’s faces – their eyes, lips, hair, skin, etc. – are generally so different from each other in luminance and color that range masks can’t select everything at once. If you want to make broad edits to people’s faces or other such subjects, it’s better to use a standard brush tool than to rely on range masking.

Portrait photo with peace sign
NIKON D7000 + 17-55mm f/2.8 @ 55mm, ISO 2800, 1/200, f/2.8

But the biggest issue with range masking is more general. After years of editing in Lightroom and a lot of other post-processing software, I’ve come to the conclusion that it’s better to do fewer local edits whenever possible, including range masking.

This isn’t some ethical crusade against local edits. There’s nothing wrong with them in theory, and they often can lead to results that are impossible to achieve any other way. But they demand a high degree of care. In practice, it is very easy to use local edits with bad results (not just range masking, but even gradients). 

Specifically, if you have a large number of local edits, they can overlap and compete with each other in unwanted ways, leading to color shifts, halos, and other artifacts. Finding the source of these issues can be almost impossible without deleting all your local edits entirely. Not to mention the slowdown penalty in Lightroom once you exceed about a dozen local adjustments.

The process I recommend instead is to try to bring an image as far as possible without any local edits. Only once you’ve achieved that is it time to edit the image locally – and even then, I’d aim for just a few well-placed gradients or soft brushes if possible.

This applies to any local adjustments, including range masking. Just don’t overdo it. Local adjustments are great features (and range masks in particular), but if you let them become your primary editing tool, you may find that your process becomes unmanageable.

Conclusion

I consider range masking to be the best feature added to Lightroom in years. It offers an elegant way to edit selective parts of an image without adding excess noise or other artifacts. And once you get the hang of it, it’s very easy and intuitive.

While I still prefer to use global sliders as much as possible, range masking is a helpful tool when you need to make precision edits. I’d go so far as to say that a majority of gradients and brush edits in Lightroom can benefit from a range mask restriction. It’s a tool that I highly recommend learning for almost every Lightroom-based photographer.

Looking for even more exclusive content?

On Photography Life, you already get world-class articles with no advertising every day for free. As a Member, you'll get even more:

Silver ($5/mo)
  • Exclusive articles
  • Monthly Q&A chat
  • Early lens test results
  • "Creative Landscape Photography" eBook
Gold ($12/mo)
  • All that, PLUS:
  • Online workshops
  • Monthly photo critiques
  • Vote on our next lens reviews
 
Click Here to Join Today
 

Related Articles

  • caFillstep2
    Photoshop's Best Content-Aware Tools, Explained
  • Averaged High Dynamic Range Technique (AHDR) Explained
  • Verm-2000mm-P900-0263
    What does a 24-2000mm zoom range actually look like?
  • WonderPana Front
    Lens Filters Explained - New Video Released
  • Doris-Final
    Maximizing Dynamic Range
  • Nikon D800E 0 EV
    Nikon vs Canon Dynamic Range
Disclosures, Terms and Conditions and Support Options
Filed Under: Post Processing Tagged With: Advanced Post Processing Tutorial, Lightroom, Lightroom Classic, Lightroom Tutorial, Mastering Lightroom

About Spencer Cox

I'm Spencer Cox, a landscape photographer based in Colorado. I started writing for Photography Life a decade ago, and now I run the website in collaboration with Nasim. I've used nearly every digital camera system under the sun, but for my personal work, I love the slow-paced nature of large format film. You can see more at my personal website and my not-exactly-active Instagram page.

guest

guest

14 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Mahargo
Mahargo
July 22, 2022 12:07 pm

Hello Spencer. The “Range Mask” section is missing from the bottom of the panel, so I can’t enable it. The panel otherwise looks identical to that shown here. I’m using the latest version, 11.4.1. I’d like to add that Photography Life tutorials are the most comprehensive I know of. Thanks!

0
Reply
RJ Styles
RJ Styles
May 14, 2022 2:34 pm

I select the subject in lightroom and invert the mask to select the entire background, and some of the mask selects the subject, then I use the brush to subtract the mask from the subject, and when I set sharpness to zero, texture to zero, and I set clarity to zero. The subject has glowing soft edges several pixels wide. It is a terrible inaccurate mask.

0
Reply
David Powell
David Powell
September 30, 2021 10:49 am

I worked through a “walkthrough” exercise on rangemasks some time ago, and al;though I could see some benefits I felt it was quite hard work to get them and went no further. When I read your sentence ” It’s fine to include some extra areas…” I realised where I had been going wrong!
Thanks!

0
Reply
roderick ma
roderick ma
September 29, 2021 9:14 pm

Great article!!

Can you say some more on the use of range masks in selecting noisy area for noise reduction & sharpening? Is it effective to adopt range masks for the task? If not, what is the best way in selecting the nosy areas?

Thanks a lot!

0
Reply
Richard Handler
Richard Handler
September 24, 2021 5:15 pm

Spencer, though I’ve been using the LrC range mask since it was introduced, I learned of additional functions from your article. Thanks!

0
Reply
Spencer Cox
Spencer Cox
Author
Reply to  Richard Handler
September 26, 2021 12:13 pm

That’s awesome! I’m happy to hear it.

0
Reply
Colin
Colin
September 24, 2021 9:57 am

Very helpful description, thank you.

0
Reply
Spencer Cox
Spencer Cox
Author
Reply to  Colin
September 26, 2021 12:13 pm

Glad you found it useful!

0
Reply
Dan Francis
Dan Francis
September 22, 2021 12:04 pm

Great article as usual Spencer! I’ve used color range masks a lot with graduated filters but I really didn’t know how to use luminance range masks with the brush tool. Thank you so much for the information!

0
Reply
Spencer Cox
Spencer Cox
Author
Reply to  Dan Francis
September 23, 2021 7:06 pm

It’s a useful combo! Just make sure you have “detect edges” turned off with the brush (at least most of the time) because of the added noise.

1
Reply
Robert John
Robert John
September 22, 2021 11:08 am

Thank you!
I recently bit the subscription bullet (although I do have 4 months free courtesy of a back-up disc purchase). I’d tried a trial of ON1 but wasn’t that impressed.
So I have an upgrade from LR6.14.
I am really impressed with range masks. So much more user-friendly than ON1’s masks.
I might even contentedly pay the subscription …

0
Reply
Spencer Cox
Spencer Cox
Author
Reply to  Robert John
September 23, 2021 7:05 pm

I’m not a fan of the subscription model but have learned to live with it. And I give Adobe credit, they have waited longer than I expected without raising its price. Hopefully that continues.

0
Reply
TedLiazos
TedLiazos
September 21, 2021 6:19 pm

A very clear explainer on an interesting tool! Your advice seems sound – I look forward to trying it out.

1
Reply
Spencer Cox
Spencer Cox
Author
Reply to  TedLiazos
September 21, 2021 6:22 pm

Happy to hear it! I think you’ll find range masks to be pretty useful.

0
Reply

Learn

  • Beginner Photography
  • Landscape Photography
  • Wildlife Photography
  • Portraiture
  • Post-Processing
  • Advanced Tutorials
Photography Life on Patreon

Reviews

  • Camera Reviews
  • Lens Reviews
  • Other Gear Reviews
  • Best Cameras and Lenses

Photography Tutorials

Photography Basics
Landscape Photography
Wildlife Photography
Macro Photography
Composition & Creativity
Black & White Photography
Night Sky Photography
Portrait Photography
Street Photography
Photography Videos

Unique Gift Ideas

Best Gifts for Photographers

Subscribe via Email

If you like our content, you can subscribe to our newsletter to receive weekly email updates using the link below:

Subscribe to our newsletter

Site Menu

  • About Us
  • Beginner Photography
  • Lens Database
  • Lens Index
  • Photo Spots
  • Search
  • Forum

Reviews

  • Reviews Archive
  • Camera Reviews
  • Lens Reviews
  • Other Gear Reviews

More

  • Contact Us
  • Subscribe
  • Workshops
  • Support Us
  • Submit Content

Copyright © 2025 · Photography Life

You are going to send email to

Move Comment