Science says it's the cones in your eyes getting tired of seeing a certain colour, and therefore hightens the opposite colour shared by that particular cone; that's why the pink eventually disappear. When watching the pink dots, you'll notice there is a glimmer of the green behind it. I'm not a scientist...just university level psych.