Dear Student,
The blue colour salt become white due to loss of water of crystallization on heating.
When we add water to the salt which is obtained after heating then it regain its blue colour.
The salt is copper sulphate and its formula is CuSO4.5H2O.
Regards