Light enters a diamond and undergoes total internal reflection within the diamond due to the high refractive index of diamond. This causes the light to exit the diamond at different angles, producing the sparkling effect. The facets on cut diamonds are designed to maximize the internal reflections and sparkling. Diamonds appear white due to dispersion of light into the visible spectrum by the crystal structure of diamond.