Decomposing white light into a spectrum and recombining it into white light