There are a few different ways that you can replace one color with another in Photoshop. You can use the Replace Color tool, you can use the Hue/Saturation tool, or you can use the Selective Color tool.
The Replace Color tool is probably the easiest way to replace one color with another. To use this tool, simply select the area that you want to replace the color of, and then click on the color that you want to replace it with. Photoshop will automatically replace all of the pixels that are the same color as what you selected with the new color.
The Hue/Saturation tool is a bit more complex, but it gives you more control over how the colors are replaced. To use this tool, first select the area that you want to change the color of.
Then, go to the Hue/Saturation panel and adjust the Hue slider until the color is changed to the desired color. You can also adjust the Saturation and Lightness sliders to fine-tune the color.
The Selective Color tool is similar to the Hue/Saturation tool, but it gives you even more control over how colors are replaced.
Then, go to the Selective Color panel and choose which colors you want to adjust. You can then use the sliders to change the amount of each color in the selection.
Whichever method you choose, replacing one color with another in Photoshop is easy and fun!