CMOS tunable-wavelength multi-color photogate sensor