The "afterimage on empty shape" effect is related to a class of effects referred to as contrast effects.In this effect, an empty (white) shape is presented on a colored background for several seconds. When the background color disappears (becomes white), an illusionary color similar to the original background is perceived within the shape. The mechanism of the effect is still unclear, and may be produced by one or two of the following mechanisms:

During the presentation of the empty shape on a colored background, the colored background induces an illusory complementary color ("induced color") inside the empty shape. After the disappearance of the colored background an afterimage of the "induced color" might appear inside the "empty shape". Thus, the expected color of the shape will be complementary to the "induced color", and therefore similar to the color of the original background. After the disappearance of the colored background, an afterimage of the background is induced. This induced color has a complementary color to that of the original background. It is possible that this background afterimage induces simultaneous contrast on the "empty shape". Simultaneous contrast is a psychophysical phenomenon of the change in the appearance of a color (or an achromatic stimulus) caused by the presence of a surrounding average color (or luminance).
Gallery
See also
Book of Optics
Emmerts law
Lilac chaser
McCollough effect
Motion aftereffect
Neural adaptation
Palinopsia
Persistence of vision
Screen burn-in
Spectropia
Visual perception

Notes
External links

The Palinopsia Foundation is dedicated to increasing awareness of palinopsia, to funding research into the causes, prevention and treatments for palinopsia, and to advocating for the needs of individuals with palinopsia and their families. Eye On Vision Foundation raises money and awareness for persistent visual conditions
Afterimages, a small demonstration. afterimage examples
The Color Dove Illusion