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

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

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