Longitudinal phase space manipulation using double emittance exchange to generate multi-color X-ray