The prism bends different colours of light at different angles ... the sun is behind you and the rain in front of you, you see a rainbow of colours reflected back from inside the raindrops.