color-thief.js with d3 + canvas + chroma.js + color-scheme.js