interpolateColor = ({
  value,
  clamp = true,
  defaultColor = DEFAULT_COLOR,
  interpolator = interpolatePuBu,
}) => {
  return interpolateColorToHex({value, clamp, defaultColor, interpolator})
    .match(/[0-9]+/g)
    .map(n => Number(n));
}
map an input value to a given color scale, and return a rgb array

@param {Number} value: intpu value
@param {Boolean} clamp: whether to clamp the input value to [0, 1], default yes
@param {[Number]} defaultColor: fallback color
@return interpolated color in [255, 255, 255] format