Spectral study of colloidal photonic crystals