The velocity of light is greatest when travelling through a vacuum.
When travelling through something else, a glass material say, then its velocity is slower.
The refractive index is the ratio of the speed of light in a vacuum to the speed of light in that substance. For example light travels in a vacuum about 1.3 times as fast as in water, so we say water has a refractive index of 1.3.
And it is likely that the velocity in the glass will be different at different wavelengths of light.
It happens by the refraction of light.
sh@@ happens
The light will bend as it passes through.
The light refracts or bend .
the light bends
it refracts
It is redirected as it passes through a medium.
It is redirected as it passes through a medium
A rainbow
Light passes thru, gets absorbed or is reflected dependent on the wavelength of light and the density of the plasma.
Refracted light
it travels at c (speed of light in a vacuum)