Researchers have developed a flat optical component that is simultaneously a metalens, a microscope objective that can resolve details smaller than a wavelength of light, and an optical vortex and hologram generator. Each functionality is controlled by a different wavelength of light.