How to get color on mouse position
You can use
CaptureScreen
to capture the screen, then use
GetImagePixel
to get the color.
You can download the sample from
PickColor.zip
.