We demonstrate experimentally that correct phase imaging without 2pi ambiguity is obtainable in digital holography by using a multiwavelength approach in the microscope configuration. We describe a general approach for removing chromatic aberrations and for controlling the pixel size of the reconstructed phase image in multiwavelength digital holography when the Fourier transform method is adopted for the numerical reconstruction of digital holograms. The retrieved phase is affected by the unavoidable, unwanted chromatic aberration. The correct phase can be obtained by evaluating the phase from the reference holograms reconstructed at different wavelengths to compensate for the chromatic aberration.