I don't remember all the GetPixel stuff but I think you could try and make a sub that reads all three RGB values and returns them or something. Once again, I don't know all the specifics of GetPixel so I'm not sure.