Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Crucial to working with color in Photoshop is understanding the role of the foreground and background colors. These are the foreground and background color right here, at the moment they are black and white. These are the default values. It's the foreground color that you paint with when you're using one of your painting tools. I'm currently in my Brush tool. so when I paint, I get black. If I want to switch my foreground and background color. I can press the X key, I am now painting white. I can also click this two headed arrow to switch my foreground and background colors.
The default values for foreground and background colors are black-and-white, if you want to change the colors, come and sample a color from the Swatches panel, then that's the color that you paint with. And if you want to restore your foreground or background colors to their default values, you can come and click on the two small squares or you can press the D key. The background color is the color that you erase to, when you use the Eraser tool. So currently my background color is white, when I use my Eraser tool and when I'm working on a background layer, that's the color that I am left with.
That's not particularly useful, but if I were to unlock my background layer, I'm doing that just by double- clicking on it and clicking OK. Now I want to use the eraser I am not erasing to the background color, but rather I am erasing to transparency. Photoshop represent transparency as a checkerboard. Sometimes the foreground and background colors work in conjunction with each other. For example, when you are making a gradient, if I choose my Gradient tool and I am now going to choose a different foreground and background color, I am going to choose a Red as my foreground color and a Yellow as my background color.
To choose your background color, hold down the Command key and click on the one the colors on the Swatches panel. I can now do a red to yellow or a foreground to background gradient, like so, because I drew the gradient over my one layer, the colors of the gradient have replaced that layer, so I am going to undo that, create a new layer and then swipe with my gradient to create the gradient above my existing layer, and then I can change my Blend Mode to something other than normal and that gives me an interaction between the gradient colors and the colors of the layer beneath.
There are some very useful keyboard shortcuts for working with your foreground and background colors. I am just going to undo couple of times, so I can get back to my empty Layer 1, and then I am going to choose my Polygonal Lasso tool to make a selection of this garage door. And I would like to fill this selection with a different color. I would like to fill it with yellow, so I am going to make yellow my foreground color, currently yellow is my background color, so I am going to press the X key to switch it to the foreground color, and then I could if I like doing things the long way around come and choose my Paint Bucket tool to fill that selection with that yellow or I could go to my Edit menu and choose Fill.
That would also work, but what I am going to do is press Option or Alt and the Backspace Delete key and that will fill my selection with my foreground color. If I wanted to fill my selection with my background color, then I would press the Command or Ctrl and the Backspace Delete key. So it's Option or Alt Delete to fill with foreground color, Command or Ctrl Delete, to fill with the background color. I did just want to mention one more thing about the foreground and background colors, and that is that they behave very differently when you are working in the context of masks.
What I am going to do now is I am going to press my Q key, which is going to take me to Quick Mask Mode. Quick Mask Mode is one way we can make a selection. We can actually paint in the selection with our Selection tool. So if I choose my Brush tool, I'm now painting in the selection or actually I would be painting in the area that is going to be masked i.e. not selected. And what I mean this masking mode and in other masking contexts, my foreground and background colors are always going to be black or white, or I can't change the opacity, so that I am painting shades of gray, but there is no such concept of color, while working with masks.
So what I am going to do here is just paint over this area. And you will be thinking, wait a minute, didn't you just say there is no such thing as color on a mask, and he is painting in red? Well, that red is really no red. That's just the color that the mask uses and I can change that color if I want to. But this is just a way of showing me what part of my image is not going to be selected. So when I now press the Q key, we return back to standard editing mode and we see the marching ants which represent areas that are selected and not selected.
And I actually have everything in this image now selected, with the exception of this window here in the center, and if I press Command+Shift+I, I could inverse that, so that that's now the selected area. But the important thing I just want to point out there and if this syncs like it's a bit of tangent, just remember, when you are working in a mask or when you are working on a mask, you're not going to be able to choose a color, you are only going to be at a paint Black or White.
Black is going to mask; white is going to reveal. So you are going to get a very different behavior from your foreground and background colors. In every other context, it's the foreground color that you paint in, and less importantly, it's the background color that you sometimes erase too.
Get unlimited access to all courses for just $25/month.Become a member
120 Video lessons · 64276 Viewers
119 Video lessons · 71684 Viewers
125 Video lessons · 32345 Viewers
103 Video lessons · 31577 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.