Get color of pixel from image

Is a possibility to get one pixel from image? I want to get color from image in current position, something like this:
image.getPixel(100,100).color