import { TinyColor } from '@ctrl/tinycolor';

const getAlphaColor = (baseColor, alpha) => new TinyColor(baseColor).setAlpha(alpha).toRgbString();
const getSolidColor = (baseColor, brightness) => {
  const instance = new TinyColor(baseColor);
  return instance.darken(brightness).toHexString();
};

export { getAlphaColor, getSolidColor };
//# sourceMappingURL=colorAlgorithm.mjs.map
