update getSwatches to use current ColorThief interface