getting a color from a PGraphics or image returned an integer.