Measurement of the chromatic variation of index of refraction gradients.