const COLORS = [
    '#007ba7',
    '#0f4d92',
    '#2a52be',
    '#318ce7',
    '#4682b4',
    '#5b92e5',
    '#6082b6',
    '#77dd77',
    '#85bb65',
    '#87a96b',
    '#8db600',
    '#93c572',
    '#a4c639',
    '#b2ec5d',
    '#d1e231',
    '#e4d00a',
    '#ffdb58',
    '#e4d96f',
    '#f4c430',
    '#ff8c00',
    '#e49b0f',
    '#e25822',
    '#ff9966',
    '#e2725b',
    '#cc4e5c',
    '#e52b50'
];

function generatePalette(size) {
    let palette = [];
    for (let i = 0; i < size; i++) {
        palette.push(COLORS[Math.floor(Math.random() * COLORS.length)]);
    }
    return palette;
}

export default generatePalette;
