June 1, 2011

ASK MORDY: Eyedropper Tool Woes


This question comes in from Dan:

If I have a white rectangle with some transparency applied and it sitting directly over another rectangle with a red fill, what you end up seeing where they overlap is not red, not white but pink. Not rocket science....I know. However if I want to use the eyedropper to pick up that pink color....I cannot do it. I've been researching and fiddling with eyedropper settings but no matter what I do, eyedropper only picks up "white"; it sees the objects, not the color. If I take a screen shot of Illustrator and place that flattened 2-dimensional image back into Illustrator, now eyedropper "sees" the pink and picks it up if I shift-click. How do you make eyedropper pick up the resulting pixel color....not the fill color when you're dealing with transparencies? 

That's a great question, Dan. Just to illustrate the "issue" here, say you have two shapes -- a yellow and a blue rectangle -- that overlap. The blue shape is set to multiply, so where the two shapes overlap, you see green. If you use the Eyedropper tool to sample the area that "looks" green, you'll actually pick up blue. That's because the Eyedropper tool is picking up the fill attribute of the rectangle -- not the final color that's a result of the transparent effect. 

Sampling from the "green" area will actually result in a blue color.