const COLORS = [
    'indigo',
    'orange',
    'mint',
    'neutral',
    'sky',
    'lime',
    'grass',
    'cyan',
    'iris',
    'purple',
    'pink',
    'crimson',
    'gold'
];
function getAvatarColor(str) {
    const hash = str.split('').reduce((acc, char) => acc + char.charCodeAt(0), 0);
    const index = hash % COLORS.length;
    return COLORS[index];
}

export { COLORS, getAvatarColor };
//# sourceMappingURL=utils.js.map
