#include <iostream>
#include <conio.h>
#include <Windows.h>
#include <string>
usingnamespace std;
int main() {
POINT p;
int x;
int y;
string red, green, blue;
while(0==0){
GetCursorPos(&p);
x = p.x;
y = p.y;
//[insert color detector here]
cout >> red >> green >> blue;
}
_getch();
}
I did a bunch of googling as well, but I didn't find it very useful.