Loop: Thanks that sorted the "out of scope problem"

Though the image editing.... Nothing happens
Any Ideas is there another way of changing colour

For the time being i'm inverting pixels of whole image until I get a more graphic appealing solution