since spectrum relies on tinycolor, you'd need to load tinycolor first before spectrum in this call as an array