Refraction effects are based on The point that light travels far more slowly in the denser medium. The ratio of the velocity of light in air to its velocity during the medium is known as the refractive index of your medium for light of a certain colour or wavelength. The refractive index is bigger for blue light than for light with the pink finish