In the electromagnetic picture, different frequencies of light waves produce different strengths of diffraction/refraction.
In the quantum picture, a photon's energy corresponds to its frequency by the Planck constant E = hf.
The solution of Schrodinger's equation for a free particle...