Maya Eyedroper tool

Are they wanting to pick the color from the closest vertex or just any color on the screen? if the latter, try:

http://download.autodesk.com/global/docs/maya2013/en_us/CommandsPython/grabColor.html