Wavelength dependence of laser-induced phase transformations in semiconductor quantum dots