$ 0 0 Engineers have invented a microscopic spectral sensor that can identify myriad materials with unprecedented accuracy.