'use strict';

var tinycolor = require('@ctrl/tinycolor');

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

exports.getAlphaColor = getAlphaColor;
exports.getSolidColor = getSolidColor;
//# sourceMappingURL=colorAlgorithm.cjs.map
