The Replace Color command enables you to replace designated colors in an image with other colors. You first select the colors you want to replace by creating a mask, which is a selection made by designating white (selected), black (deselected), and gray (partially selected) areas. You can then adjust the hue and/or saturation of those selected colors.