The independent control of electromagnetic waves with different oscillating frequencies is critical in the modern electromagnetic techniques, such as wireless communications and multispectral imaging. To obtain complete control of different light waves with optical materials, the chromatic dispersion should be carefully controlled, which is however extremely difficult. In this paper, we propose a method to control the behaviors of different light waves through a metasurface which is able to generate achromatic geometric phase. Using this approach, a doughnut-shaped and a solid light spot were achieved at the same focal plane using two light sources with different wavelengths as used in the stimulation emission depletion (STED) microscope system. In order to reveal the full capacity of such method, tight focusing at multiple wavelengths is also represented, where the focal spots of different wavelengths are located at the same position. The results provided here may open a new door to the design of subminiature optical components and integrated optical system operating at multiple wavelengths.