Answer:
There is a dependency relationship between the refractive index of each substance and the radiation wavelength.
The refractive index in a given medium is inversely proportional to the wavelength of a color.
For example:
The rays of the red color have a wavelength greater than the rays of the blue color, therefore they have a lower refractive index and consequently a light scattering less than the blue.
Snell's law :
n₂/n₁ = v₁/v₂ = λ₁ /λ₂
*n: (refractive index)
v: (speed of light propagation)
λ: (wavelength)