Decoherence of a solid-state qubit by different noise correlation spectra