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.


As Dan mentioned, you *could* turn the artwork into an image (although you don't have to take a screenshot -- you could just rasterize the artwork by selecting both shapes and choosing Object > Rasterize). When sampling from a raster image, you can press and hold the Shift key while using the Eyedropper tool to get pixel values. While that's true, you still have to go through the trouble of rasterizing your artwork. More so, the color that you're sampling is actually an RGB color sampled from the screen. So it's not entirely accurate either.

Sadly, this is a deficiency in the way the Eyedropper tool works. It can only sample pixels from rasters, and if it finds an object, it grabs it attributes, not the color that is seen on the screen.

So what to do?

Well, first, in order to get the real color of that overlapping area, we'll need to select both shapes and choose Object > Flatten Transparency. This will actually break up the artwork so that you'll have a physical third shape. This shape will contain the resulting color of the transparency. You could then use the Eyedropper tool to sample that new shape.

But that doesn't really work for me, as I will lose my editable artwork. Let's step back for a second though -- what if we just ignore the Eyedropper tool altogether? I mean, all we're after is the color. What if I told you I could hand you that color as a swatch? Would that work for you? It will take a few steps to do it, but if we record an Action to do it for us in a single click (or keystroke), that might fit the bill. Let's take it one step at a time:

1. Select the overlapping artwork.

2. Open the Actions panel and click the Create New Action button. Give it a name (and if you'd like, assign it to a set). If you want to perform this action later via a keystroke, assign a Function key as well. Then click Record.

3. Choose Edit > Copy.

4. Choose Edit > Paste in Front.

5. Choose Object > Flatten Transparency and then click OK (the default Medium setting is fine for our needs).

6. Open the Swatches panel, and from the bottom of it, click the New Color Group button. Click OK when the New Color Dialog appears.

7. Choose Edit > Clear.

8. In the Actions panel, click the Stop Recording button.

9. Make sure that the Toggle Dialog settings are off for the steps in the Action (otherwise the dialogs will appear whenever you run the Action).

OK, you're done. Now try it out. Create some overlapping artwork that has transparency. Select the artwork and Play the Action. Now you'll find a swatch in your panel that contains the exact color of that overlapping area.

Facebook Comment

Blogger Tips and TricksLatest Tips And TricksBlogger Tricks
  • Jacqueline Fernandez Super Sexy Legs Show At The HELLO Classic Derby Race 2013
    Jacqueline Fernandez Super Sexy Legs Show At The HELLO Classic Derby Race 2013

  • Abigail Clancy Black Hood
    Abigail Clancy Black Hood

    Abigail Clancy Black Hood Download

  • Surabhi Suryakumar Mega Cleavage Show In Red dress At Telugu Film ‘Best Friends Forever’ Press Meet In Hyderabad
    Surabhi Suryakumar Mega Cleavage Show In Red dress At Telugu Film ‘Best Friends Forever’ Press Meet In Hyderabad

  • Canyon in High Air
    Canyon in High Air

    Canyon in High Air Download

  • Priyanka Chopra Super Sexy In Tight Red Top and Jeans At The Mumbai Airport
    Priyanka Chopra Super Sexy In Tight Red Top and Jeans At The Mumbai Airport

  • Watermarking and Digitally Signing your prints.
    Watermarking and Digitally Signing your prints.

    Part 2 Watermarking and Digitally Signing your prints.  Is there a right way to do this?Placing a copyright notice on the images you post on the…

  • Lightroom Tutorials: Amazing Clouds - Before and After
    Lightroom Tutorials: Amazing Clouds - Before and After

    CLICK HERE to learn more about Adobe Lightroom and how I process images, check out my Lightroom Tutorial and Lightroom Presets on my website to learn…

  • Strawberry covered with Chocolate
    Strawberry covered with Chocolate

    Strawberry covered with Chocolate Download

  • Abstract 2
    Abstract 2

    Abstract 2 Download

  • AMD Fusion Gaming
    AMD Fusion Gaming

    AMD Fusion Gaming Download

  • Sonakshi Sinha Looks Gorgeous In Saree At The Film 'Lootera' Trailer Launch
    Sonakshi Sinha Looks Gorgeous In Saree At The Film 'Lootera' Trailer Launch

  • Chip Simone at the High Museum
    Chip Simone at the High Museum

    Atlanta-based photographer Chip Simone has a major show of work now up at the High Museum, through  November 6th, 2011, entitled The Resonant…

  • Lightroom Tutorials : Sea Photography
    Lightroom Tutorials : Sea Photography

    CLICK HERE to learn more about Adobe Lightroom. To learn more about how I process images check out my Lightroom Tutorial and Lightroom Presets.CLICK…

  • Sandwich Terns
    Sandwich Terns

    A few Sandwich Tern images from Cemlyn Bay, Anglesey.

  • Super Hot Female Celebrities At The Lakme Fashion Week 2013
    Super Hot Female Celebrities At The Lakme Fashion Week 2013

  • Amanda Bynes
    Amanda Bynes

    Amanda Bynes Download

  • Great tutorial on recoloring art
    Great tutorial on recoloring art

    Ian Giblin, one of the awesome dudes on the Illustrator team posted a nice tutorial on using the Recolor Artwork feature in Illustrator (CS3 and…

  • Avril Lavigne Happy
    Avril Lavigne Happy

    Avril Lavigne Happy Download

  • Windows 7 Blue
    Windows 7 Blue

    Windows 7 Blue Download

  • Pier Sunset
    Pier Sunset

    Pier Sunset Download

  • Angel Anime
    Angel Anime

    Angel Anime Download

  • Deepika Padukone Looks Stunning At The Launch Of Tissot Bella Ora Watch In Hyderabad
    Deepika Padukone Looks Stunning At The Launch Of Tissot Bella Ora Watch In Hyderabad

  • Autumn Colours
    Autumn Colours

    My inspiration for this colour story came from looking out the window at the trees and all the autumn coloured leaves.I have used burnt orange…

  • Weather Rain
    Weather Rain

    Weather Rain Download

  • Kim Kardashian Droolable Ass Display While Shopping At 'Kid Space' In Paris, France
    Kim Kardashian Droolable Ass Display While Shopping At 'Kid Space' In Paris, France

  • Nico de Swert - Flower Arranging Video
    Nico de Swert - Flower Arranging Video

    In this video called How to Arrange Flowers and Create Simple Bouquets, the florist and stylist Nico de Swert shows you how to make a very simple…

  • Demetria Devonne Model Face
    Demetria Devonne Model Face

    Demetria Devonne Model Face Download

  • Colour Story - Red & Grey
    Colour Story - Red & Grey

    The holiday period is over but I wanted to use the four red miniature Poinsettia, that I featured in this post, one more time.  I planted all…

  • Yami Gautam Displays Her Silky Smooth Sexy Legs At Film 'Badlapur' Promotions At R City Mall, Mumbai
    Yami Gautam Displays Her Silky Smooth Sexy Legs At Film 'Badlapur' Promotions At R City Mall, Mumbai

  • Femina Miss India International 2013 Zoya Afroz Looks Sexy In Blue Dress At 'Miss Soft N Shine 2014' Beauty Pageant Curtain Raiser In Hyderabad
    Femina Miss India International 2013 Zoya Afroz Looks Sexy In Blue Dress At 'Miss Soft N Shine 2014' Beauty Pageant Curtain Raiser In Hyderabad

  • Lightroom Tutorials : Hyde Park London
    Lightroom Tutorials : Hyde Park London

    Click Here - to see my complete new range of Lightroom Presets and 1hr long Lightroom Video Tutorial. The tutorial is filled with all the techniques…

  • Sania Mirza Looks Super Sexy In Yoga Pants At Max Bupa Walk For Health in Delhi
    Sania Mirza Looks Super Sexy In Yoga Pants At Max Bupa Walk For Health in Delhi