Effects of laser wavelength and density scalelength on absorption of ultrashort intense lasers on solid-density targets