When dissolved in water, the anhydrous compound will have a color similar to that of the original hydrate even if it had changed color going from the hydrate to the anhydrous compound.