   check bg color?
  I am learning OpenGL and are making a game where I whant the collision detection to activate on a certain color.How should I accomplish this?any help would be appriciated. 
  Get the pixels from the video buffer. Since OpenGL doesn''t directly provide or manage video contexts (relying instead on intermediaries like WGL, GLUT, SDL or DirectDraw), retrieve the pixel values from those sources. 