for (int x = 0; x < getWidth(); x++)
{
for (int y = 0; y < getHeight(); y++)
{
GreenfootImage bg = getBackground();
Color beep = bg.getColorAt(x,y);
Color gray = new Color(beep.getRed(),beep.getGreen(),beep.getBlue());
}
}
