Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

37. The fill functions

From: Photoshop Top 40

Video: 37. The fill functions

(Music playing) Deke's Photoshop? Deke's Photoshop? Top 40! Feature #37 is The Fill Functions here inside of Photoshop, and this is a kooky group of features actually that mostly rely on a bunch of keyboards tricks. You can either fill a selected area with a foreground color or the background color, and you can respect the transparency of the layer or not respect the transparency of the layer, and then you even have a Fill dialog box that you can work from. I am going to show you how all this stuff works, because once you know it's there.

37. The fill functions

(Music playing) Deke's Photoshop? Deke's Photoshop? Top 40! Feature #37 is The Fill Functions here inside of Photoshop, and this is a kooky group of features actually that mostly rely on a bunch of keyboards tricks. You can either fill a selected area with a foreground color or the background color, and you can respect the transparency of the layer or not respect the transparency of the layer, and then you even have a Fill dialog box that you can work from. I am going to show you how all this stuff works, because once you know it's there.

It's exceedingly useful. So here I am working inside of an image from a photographer that goes by the name, POKO BW. And I am going to go ahead and load this mask that I have created in advance. It's this mask right here. And by loading this mask up here in the Channels palette, I am going to select the white regions, not select the black regions, and that's going to allow me to infuse the sort of blue, green areas here with different colors. So I am going to load up that mask, because this is a selection outline, by pressing the Ctrl key or the Command key on the Mac and clicking on mask 2 right there.

And now, notice that I have got my foreground and background colors set to quite different colors indeed. We have got foreground color of brown and a background color that's a sort of hot pink. Now, if I want to fill the selected region with the foreground color, I would press Alt+Backspace or Option+Delete on the Mac. So all of these keyboards shortcuts rely on the Backspace key on the PC or the Delete key on the Mac. The reasoning being that you are deleting pixels inside of the selected region, but you are actually infusing them with color at the end of the day.

So it's Alt+Backspace here on the PC or Option+Delete on the Mac for the foreground color. I will go ahead and undo that modification to take us back to the original colors. If you want to fill the region with the background color, in our case hot pink, you either, if you are working on a flat image as we are right now that has no layers, you press just the Backspace key here on the PC or just the Delete key on the Mac. Or if you are working on a layered image, you press Ctrl+Backspace on the PC or Command+Delete on the Mac. All right. So I am going to undo that modification as well, because we are going to work with a layered image.

We are going to pop this selection onto its own layer by going over to the Layers palette. And I am going to press Ctrl+J or Command+J on the Mac. And that's J for Jump. So that goes ahead and jumps that selected region to its own new layer. Now, at this point, with no selection outline intact, if I were to press say Alt+Backspace or Option+Delete, I would fill the entire layer, every single pixel, with that foreground color. I don't want that. I will go ahead and press Ctrl+Z or Command+Z on the Mac to undo that modification. What I want to do is I want to fill just the opaque pixels inside of this layer with the color.

So in order to respect the transparency of the layer and fill just the opaque pixels, you add Shift to the keyboard equivalent. So in our case, we press Shift+Alt+Backspace on the PC or Shift+Option+Delete on the Mac to fill the opaque pixels on this layer with a foreground color. Let's go ahead and undo that by pressing Ctrl+Z, Command+Z on the Mac. If you want to fill just those opaque pixels with the background color, once again, respect the transparency, you press Ctrl+Shift+Backspace or Command+Shift+Delete on the Mac. Now, tell you what I want to do, I am going to go ahead and undo that modification, Ctrl+Z, Command+Z on the Mac, and I am going to press Shift+Alt+Backspace, Shift+Option+Delete on the Mac, in order to fill the opaque pixels on this layer with a foreground color.

And then I am going to change the blend mode associated with this layer, from Normal, to this guy right here, Hue. So that we are investing the Hue that's associated with this brown here, we are colorizing the background image, and we are turning it into more of a warm brown tone as we are seeing right here. Now, what if at this point you are saying, you know what, this isn't exactly the effect I want either, I would like to try out some other colors that are neither foreground color, nor background color. Why then, you can try out the Fill command. You go up to the Edit menu, and you choose Fill.

There is also a keyboard shortcut for this command and it's totally bizarre, but it's just Shift+Backspace or Shift+Delete on the Mac. So you can try that out as well if you like, or just choose the command, brings up this dialog box right here. Now notice, in addition to the Foreground Color and the Background Color, you can select your own custom Color. You can fill the selection with a Pattern. If you have a History State selected inside the History palette, you can fill the layer with that History State. You also have the option of using black, white, or 50% gray.

I am going to go with 50% gray. And notice we have the option of Preserving the Transparency. I want that turned on, so that will allow us to just fill in the opaque pixels and none of the transparent pixels. Were I were to turn this checkbox off, we would fill every bit of the layer, and turn the entire thing grayscale. Don't want that. So just 50% gray. We don't have to worry about the blend mode or the opacity value. Click OK. And that goes ahead and fills that layer with gray, as you can see here in this little layer thumbnail. And by virtue of the fact that I have the blend mode set to Hue, we are sending all those colors in that selected region to black and white, while leaving the Reds and the Yellows that were not selected inside of the image.

And that's how you fill a selected or layered region, with either the foreground color or the background color, or some other color inside Photoshop.

Show transcript

This video is part of

Image for Photoshop Top 40
Photoshop Top 40

41 video lessons · 37803 viewers

Deke McClelland
Author

 

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Photoshop Top 40.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.