Fully Integrated CMOS-Compatible Photodetector with Intrinsic Gain and Red-Green-Blue Color Selectivity