Make colorCount arg optional in getPalette function.