Infrared thermometer with protective mask on color background