 Modern instruments are capable of measuring UV–visible spectra in both reflectance and transmission of micron-scale sampling areas.The advantages of using such instruments is that they are able to measure microscopic samples but are also able to measure the spectra of larger samples with high spatial resolution.As such, they are used in the forensic laboratory to analyze the dyes and pigments in individual textile fibers, microscopic paint chips  and the color of glass fragments.