A rainbow can only be seen in the morning or the late afternoon. It can only occur when the sun is 40 degrees or less above the horizon.