Mesh color changes with position

Yes,you were right, I thought I had done but I hadn’t.

Thanks