'use strict';

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

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

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