Thank you for sharing the link. In that thread a light ray just goes from a rarer medium to a denser and back to the same rarer medium so the wavelength of the light at the start and end is the same and there is no difference in the color of the original light. My question is different as light...
if a ray of monochromatic light comes from a denser medium to a rarer medium does the color reaching a viewer in the rarer medium differ from the actual color of light in the denser medium (as wavelength of light is different for both the media)?