Minsk Zoo

by faleichik

submit your photo


Hall of Fame
View past winners from this year

Please participate in Meta
and help us grow.

Take the 2-minute tour ×
Photography Stack Exchange is a question and answer site for professional, enthusiast and amateur photographers. It's 100% free, no registration required.

Is there any way to select all pixels on the current layer that match a specific color value exactly?

My first instinct is Select > Color Range..., but I cannot determine how to input a specific pixel color by value, in order to select pixels that match that, and that only.

share|improve this question
add comment

2 Answers

up vote 5 down vote accepted

You can use the Magic Wand Tool with the following setting:

Tolerance: 0
Anti-alias: unchecked
Contiguous: unchecked
Sample All Layers: *checked or unchecked* (See below)

The Magic Wand Tool also uses the "Sample Size" settings from the Eye Dropper tool, so you will have to switch to that tool and make sure it is set to "Point Sample" before using the Magic Wand Tool. Otherwise you could end up selecting more colors than you intended.

To select a color by value, the easist way is probably to make a new layer and fill some part of it with the color you wish to select, and then use the Magic Wand tool (set to sample all layers) and click on your color patch on the new layer.

Source: http://ask.metafilter.com/146706/This-Photoshop-is-driving-me-crazy#2104497

share|improve this answer
add comment

IMHO Select > Color Range is the way to go (fast and, I dare say, most semantically correct).

While you are in the aforementioned window, click your eyedropper tool on the little squares (foreground color and background color) in the COLOR panel (usually top right) to sample a color you previously determined in HSB, RGB, LAB or CMYK mode (or simply picked from the palette).

edit - I was about to forget: in Select > Color Range uncheck localized color clusters and set fuzziness to 0 (although you probably figured it out) to select exactly that color over your whole image.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.
{"cc_re__cc_re__cc_by_sa_3_0": ["        <li><a href=\"http://area51.stackexchange.com\" title=\"proposing new sites in the Stack Exchange network\">Area 51</a></li>\r\n                        <li><a href=\"http://careers.stackoverflow.com\">Stack Overflow Careers</a></li>\r\n                    \r\n                </ol>\r\n            </td>\r\n    </tr>\r\n</table>\r\n                </div>\r\n            </div>\r\n\r\n            <div id=\"copyright\">\r\n                site design / logo &#169; 2014 stack exchange inc; user contributions licensed under <a href=\"http://creativecommons.org/licenses/by-sa/3.0/\" rel=\"license\">cc by-sa 3.0</a> \r\n                with <a href=\"http://blog.stackoverflow.com/2009/06/attribution-required/\" rel=\"license\">attribution required</a>\r\n            </div>\r\n            <div id=\"svnrev\">\r\n                rev 2014.3.7.1431\r\n            </div>\r\n            \r\n        </div>\r\n    </div>\r\n    <noscript>\r\n        <div id=\"noscript-warning\">Photography Stack Exchange works best with JavaScript enabled<img src=\"http://pixel.quantserve.com/pixel/p-c1rF4kxgLUzNc.gif\" alt=\"\" class=\"dno\"></div>"], "copyright__copyright__copyright": [" HSB, RGB, LAB or CMYK mode (or simply picked from the palette).\n\nedit - I was about to forget: in Select > Color Range uncheck localized color clusters and set fuzziness to 0 (although you probably figured it out) to select exactly that color over your whole image.\n\nshare|improve this answer\nadd comment\n\nYour Answer\n\n\u00a0\ndiscard\n\nBy posting your answer, you agree to the privacy policy and terms of service.\n\nNot the answer you're looking for? Browse other questions tagged or ask your own question."]}