Blue and red upconversion color tuning of Tm3+ via pulse excitation based on the thermal effect.