The index of refraction varies by light color due to the different wavelengths of light interacting with a medium's atomic structure, affecting how much light bends. When light enters a new medium, some is reflected while some is refracted, depending on the angle of incidence and the refractive indices of both media. These fundamental principles of optics are well-documented and can be explored further through recommended readings. Understanding these concepts can clarify why different colors of light behave differently in various materials. For deeper insights, reviewing the provided resources can enhance comprehension of refraction and reflection.