Zinc oxide is white in color but on heating it turns into yellow because on heating it loses oxygen reversibly at high temperature.
The reaction is as under:-
ZnO → Zn2+ + 1/2 O2 + 2e-