function recosForSkus(skus, length = 4) {
  const targetRgb = averageColor(skusToColors(skus));
  const distances = [];

  for (const sku in r) {
    if (!skus.includes(sku)) {
      const distance = colorDistance(targetRgb, r[sku].rgb);
      distances.push({ sku, distance });
    }
  }

  distances.sort((a, b) => a.distance - b.distance);
  return distances.slice(0, length).map(d => r[d.sku]);
}
Finds recommendations based on color similarity.
@param {string[]} skus - The array of SKUs.
@param {number} [length=5] - The number of recommendations to return.
@returns {RecoItem[]} The array of recommendations.