import tinycolor from 'tinycolor2';

const hslColorMap = (h, s, l) => {
  const colors = {};
  for (let i = 0; i < l.length; i++) {
    const lightness = l[i];
    colors[lightness] = tinycolor({ h, s, l: lightness }).toHexString();
  }
  return colors;
};

export { hslColorMap };
