There's GetPixel() and PutPixel() functions in the SDL docs: http://www.libsdl.org/cgi/docwiki.cgi/Pixel_20Access?action=highlight&value=getpixel Enjoy! =D cocobear wrote: > I want to know the color of pixel(x,y), how can I get it? > > > > > Regards! > > /* > *Welcome to cocobear's home! > *http://cocobear.cn > */