changed spectrum.js preferredFormat to hex