Resolved! I need help, is that allowed?

I can't for the life of me figure out a good way to take whatever is being displayed on the window and find out the color of just a single pixel! I'm using pyglet and if anyone has any idea how to do this, and it's not against the rules, please comment with your suggestions.