public Color getColor() {
		if (color == null) {
		Image image = sprite.getImage();
		int clr=  ((BufferedImage) image).getRGB(10,10); 
		  int  red   = (clr & 0x00ff0000) >> 16;
		  int  green = (clr & 0x0000ff00) >> 8;
		  int  blue  =  clr & 0x000000ff;
		  color = new Color(red,green,blue);
		  return color;
		} else {
			return color;
		}
	}