Read pixel color

How can i read the color of a position in the screen, for example the color of the position of the mouse when when the user click (i don´t need to know how to handle mouse click, just how to get the pixel color).

thanks.

Originally posted by psycho:
[b]How can i read the color of a position in the screen, for example the color of the position of the mouse when when the user click (i don´t need to know how to handle mouse click, just how to get the pixel color).

thanks.[/b]

glreadpixels