Ultraviolet–visible absorption
Different molecules will absorb different wavelengths of light.  The wavelengths of light for UV-visible absorption are from about 200 nanometers to 800 nanometers.   This is a section of the electromagnetic spectrum pictured.