When droplets of water in the atmosphere act like prisms, the colors in sunlight undergo?
White light is all the colours of light combined. When the droplets act like prisms, they split the white light into all its colours and also slightly bend the different colours. This is how a rainbow is formed.
The white colour of the sunlight splits into its constituent colours (VIBGYOR) and a rainbow is formed in the sky