yeah, you can do the same thing in Photoshop with Image>Adjustments>Replace Color....
Select the area first, then go to Replace color...It will show your selection, and you can select the color you want to change with the eydropper, then you can change that color to any other color...