Each optical material (glasses, plastics, gases) have a different refraction index for each wavelength.
Instead of keeping long tables, it’s possible to describe the behaviour of optical materials by formulas.
here are the main formulas used :
1: Sellmeier (preferred)
2: Sellmeier-2
3: Polynomial
4: RefractiveIndex.info
5: Cauchy
6: Gases
7: Herzberger
8: Retro
9: Exotic