This is called illusion. Dont believe me. Just put your finger on your screen in such a way that your finger can hide the horizontal edge of the cube. Now tell me! what is the color of the cube?
Indeed, normally you are seeing that the two faces of cube has different color, but when you hide the edge, all of sudden the cube looks like made of same color….