Diode such that light emitted at a p-n junction is proportional to the bias current; color depends on the material used