Green flashes and green rays are optical phenomena that sometimes occur right before sunset or right after sunrise. When the conditions are right, a green spot is visible above the upper rim of the disk of the sun. The green appearance usually lasts for no more than a second or two. Rarely, the green flash can resemble a green ray shooting up from the sunset, or sunrise, point.
Green flashes occur because the atmosphere can cause the light from the sun to separate out into different colors. Green flashes are a group of phenomena which stem from slightly different causes, and therefore some types of green flashes are more common than others.