4 Replies Latest reply on Apr 7, 2017 4:09 AM by Trevor.Dennis

    How to select only a single color with Magic Wand

    (d) Level 1

      In the attached image, you can see a selection made of the arrows, and the settings at the top, using the Magic Wand tool.

       

      Screen Shot 2017-04-06 at 5.36.40 PM.png@

       

      However, it's select the entire arrow. I'm trying to only select the black section of the arrows, not the gray outline pixels.

       

      I thought setting a tolerance of zero, no anti-alias, and point sample would accomplish that. However, it's still including the two grays around the edge of the arrows.

       

      How can I only select the blackest portion of the arrows?

       

      thanks

      doug

        • 1. Re: How to select only a single color with Magic Wand
          Chuck Uebele Adobe Community Professional & MVP

          The trouble is that you have transparency, and the magic wand is just looking at color. The gray sections my look gray, but they're actually black with transparency. I you want to make a selection of just the black, merge the arrow layers with a layer filled with white. Then you will have true shades of gray, and the magic wand can tell them apart.

          2 people found this helpful
          • 2. Re: How to select only a single color with Magic Wand
            Felix Bauerschäfer Level 1

            You are working with a pixelbased workspace, if you don't want to have gray-pixels inside of your arrows. Consider using Illustrator instead of Photshop.

            1 person found this helpful
            • 3. Re: How to select only a single color with Magic Wand
              Eternal Warrior Level 4

              The grey pixels are part of an anti-alias to make the arrows seem smoother.

               

              You could try enabling contiguous (and disable anti-alias) when using the magic wand with tolerance set to 1 or 0.

               

              2017-04-07_10-04-49.png


              Or more simply you could use > Select > Color Range...for future reference as this gives a lot of finer control when you just want to select a specific colour or range of colours:
              2017-04-07_10-02-28.png

               

              Or finally as Felix Bauerschäfer pointed out you could simply make your arrows in illustrator... but without knowing the end goal or your workflow there are exceptions where only Photoshop is likely required.

               

              Best,

               

              EW

               

               

              2 people found this helpful
              • 4. Re: How to select only a single color with Magic Wand
                Trevor.Dennis Adobe Community Professional (Moderator)

                I'm a bit confused here as the thread is going off at all sorts of tangents.  The OP is asking how to select just the black pixels, rather than how to create an arrow that has no anti aliasing.   He could make a vector arrow in Photoshop the same as with Illustrator, but even viewing at 100% there is still a hint of aa, and if you zoom in, the aa becomes very obvious.  So EW's question is highly relevant. What is the end goal here?

                2 people found this helpful