Eye dropper

I was using the Painter 11's eyedropper when suddenly I noticed when I tried picking up a color it would only show white.  When I clicked on a black line it would show black.  I was sure to be on the layer that had the color I was trying to select with the eyedropper.  What am I doing wrong?