Change Any Color to Any Color in Photoshop (Hue/Saturation)
Photoshop’s Hue/Saturation adjustment lets you remap one color to another with precision. By using the Hand Tool inside the Hue/Saturation properties, you can select the exact color range, expand it to cover all target areas, and then dial in any new color. This workflow is fast, flexible, and non-destructive.

Step-by-step instructions
Create a Hue/Saturation adjustment layer
Go to Layer → New Adjustment Layer → Hue/Saturation… → OK.
Open the Properties panel if it’s not visible (Window → Properties).
Target the color with the Hand Tool
In Hue/Saturation, click the Hand Tool (On-Image Adjustment).
Click directly on the target color in your image (e.g., the dress).
Temporarily drag Hue and Saturation to the right to visualize which areas are being targeted.
Expand and refine the color range
In the color range bar, drag the outer sliders outward to cover all of the target areas.
Adjust the inner feather sliders to smooth transitions and avoid harsh edges.
Ensure other areas (like skin) aren’t affected; tighten the sliders if necessary.
Set the new color and finish
Reset Hue and Saturation to 0.
Drag Hue to choose the desired color; adjust Saturation and Lightness to taste.
For black, lower Saturation and Lightness; for white, lower Saturation and raise Lightness.