Red shift and blue shift in fluorescence