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).
In the 1996 film Citizen Ruth, the character Ruth (Laura Dern), a homeless drifter, is depicted inhaling patio sealant from a paper bag in an alleyway. In the tragicomedy Love Liza, the main character, played by Philip Seymour Hoffman, plays a man who takes up building remote-controlled airplanes as a hobby to give him an excuse to sniff the fuel in the wake of his wifes suicide. Harmony Korines 1997 Gummo depicts adolescent boys inhaling contact cement for a high. Edet Belzbergs 2001 documentary Children Underground chronicles the lives of Romanian street children addicted to inhaling paint. In The Basketball Diaries, a group of boys is huffing carbona cleaning liquid at 3 minutes and 27 seconds into the movie; further on, a boy is reading a diary describing the experience of sniffing the cleaning liquid. In the David Lynch film Blue Velvet, the bizarre and manipulative character played by Dennis Hopper uses a mask to inhale amyl nitrite. In Little Shop of Horrors, Steve Martins character dies from nitrous oxide inhalation. The 1999 independent film Boys Dont Cry depicts two young low-income women inhaling aerosol computer cleaner (compressed gas) for a buzz. In The Cider House Rules, Michael Caines character is addicted to inhaling ether vapors. In Thirteen, the main character, a teen, uses a can of aerosol computer cleaner to get high. In the action movie Shooter, an ex-serviceman on the run from the law (Mark Wahlberg) inhales nitrous oxide gas from a number of Whip-It! whipped cream canisters until he becomes unconscious.