Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
(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.
Get unlimited access to all courses for just $25/month.Become a member
117 Video lessons · 42413 Viewers
119 Video lessons · 53870 Viewers
65 Video lessons · 14206 Viewers
113 Video lessons · 82775 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
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.
Your file was successfully uploaded.