GetPixel returns a color object doesn't it? With that color you should have the following methods available to you :

GetRed()
GetGreen()
GetBlue()