Turn dark colors black

PP
Posted By
Paolo Pignatelli
Sep 28, 2005
Views
237
Replies
2
Status
Closed
how can I turn dark colors (darker than a threshold, say (333333)) into (000000)? More generally, I would like to do something like this Dim Threshold = (some string),
Dim NewColor= (some string)
If Sum RGB < Threshold Then Color = NewColor

Hope I’m clear-ish,

TIA

How to Improve Photoshop Performance

Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!

W
Waldo
Sep 28, 2005
Paolo Pignatelli wrote:
how can I turn dark colors (darker than a threshold, say (333333)) into (000000)? More generally, I would like to do something like this Dim Threshold = (some string),
Dim NewColor= (some string)
If Sum RGB < Threshold Then Color = NewColor

Hope I’m clear-ish,

TIA

Open your image in Photoshop. Go to Image->Adjustments->Levels…

Drag the black triangle under the histogram in the Levels window to the right, to the place where the dark color (your 333333) is, you want to be black. This will darken the other colors too, but sliding the middle triangle to the left will fix this.

Another method is Image->Adjustment->Replace color…

Then select the color(range) you want to be black. Play with the fuzziness to achieve this. You can add things to your selection by using the icon with the eyedropper with the plus sign. After that, drag the lightness slider completely to the left (-100).

Good luck,
Waldo
T
Tacit
Sep 28, 2005
In article <w8w_e.37160$>,
"Paolo Pignatelli" wrote:

how can I turn dark colors (darker than a threshold, say (333333)) into (000000)?

Select->Color Range, then Edit->Fill is one way to do this.

Image->Adjust->Curves is another.

Image->Adjust->Selective Colors, and then add black to shadows, may work as well.


Art, photography, shareware, polyamory, literature, kink: all at http://www.xeromag.com/franklin.html

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

Related Discussion Topics

Nice and short text about related topics in discussion sections