The colour emitted by a light emitting diode depends mainly on:
recombination rate of charge carriers
type of biasing applied
type of material used
Environmental conditions
The colour or light emitted by a light emitting diode depends mainly on the material with which they are made.