How to apply an exact hex color to an object in Photoshop

Learn two ways to paint a precise color or hex code onto an object in Photoshop. You will use a Hue/Saturation layer for objects that already have a strong color, and a Curves layer for neutral grey or white surfaces. It suits product photo editors who need accurate color matching.

YouTube video: 2 Ways to Apply EXACT Color Perfectly in Photoshop!

YouTube’s video details do not confirm captions. Check CC in the player for available tracks.

5 chapters. Tap a step to jump to it.Chapters from the creator
Choose a chapter (5)
Video length
13 min 22 s
Time to do it
20 minutes
Difficulty
Medium
Steps
8

What you need

Steps

  1. Open your image in Photoshop and pick the object you want to recolor. Duplicate the background layer so the original stays safe.

  2. Sample the object's highlights, midtones and shadows and average them into one reference patch. This gives you a reliable starting color instead of a single random pixel.

  3. Add a Hue/Saturation adjustment layer above the object. Use the targeted adjustment tool to click the object's main color so the layer selects only that hue range.

  4. Drag the Hue slider until the object sits close to your target color. Fine-tune with Saturation and Lightness to keep the shading believable.

  5. If the object is neutral grey or white, skip Hue/Saturation. Add a Curves adjustment layer instead and work on the individual Red, Green and Blue channels.

  6. Read your target hex code and split it into its red, green and blue values. Push each channel curve up or down to reach those values on the object.

  7. Check the result with the eyedropper or the Info panel. Compare the sampled color against your target hex code and nudge the curves until they match.

  8. Mask the adjustment layer so the color change only affects the object. Paint with a soft black brush to bring back edges and reflections.

Tips and common mistakes

Use Hue/Saturation when the object already has a clear color, and Curves when it is grey, white or nearly colorless.

Always sample an averaged patch, not one pixel, because highlights and shadows skew a single reading.

Keep some of the original light and shadow so the new color does not look flat and pasted on.

Zoom to 100 percent when comparing colors, since smaller views hide small shifts.

Questions

Where do I find the hex code of a color in Photoshop?

Open the Color Picker and the hex field sits at the bottom of the dialog. You can also read values with the eyedropper in the Info panel.

Why does my color look wrong after applying it?

The layer is probably affecting too wide a hue range or the mask is too hard. Tighten the color range and soften the mask edges.

Can I use these methods on any object?

They work best on objects with fairly even lighting. Very reflective or multi-colored objects need extra masking and local adjustments.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Art & Design

See all