Is there a call I can use that will let me grab the colour from another application/screen. I want to click on the screen and return an RGB value or Hex.

Any help would be appreciated