Measuring light level, capturing spectral color and detecting UV are three different jobs. The difference shows up in the output signal, not just the part number.
CdS photoresistors, I2C lux sensors like VEML7700 and TSL2591, multi-channel spectral sensors, UV detectors and TCS-series color sensors — about 80 listings for anything that responds to photons.
Pick the board you have - we'll show what we know about swapping it.
Known swap options (1)