Visible light is actually made up of different colors. Each color bends by a different amount when refracted by glass. That's why visible light is split, or dispersed, into different colors when it passes through a lens or prism. Shorter wavelengths, like purple and blue light, bend the most. Longer wavelengths, like red and orange light, bend the least.