With thanks to Edgar and oex for the suggestion on GetPixel(), here is the complimentary toy that samples any point on the screen and stores its colour as COLORREF hex.
Get the improved version below.
Hi Hutch
The color picker seems to be restricted to the window and not the whole screen.
Biterider
:bg
Click the help button. What you must do is hold the left button down. Release it when you get the color sample you want.
None the less, the interface was complicated so I changed it to a simpler and easier form to use.