In optics, the spreading of a mixture of wavelengths of light (colors) into its consituent wavelengths. The refractive index of a medium (e.g. glass), which determines the extent to which a ray of light is deflected when it enters that medium at any angle other than perpendicular to its surface, is the ratio of the speed of light in a vacuum to the speed of light in a medium