HeideQueen
9/30/2019 - 10:24 PM

Random Hex Colors Generator

function randomColors() {
    const letters = '0123456789abcdef';
    let color = '#';
    for (let i = 0; i < 6; i++) {
        color += letters[Math.floor(Math.random() * 16)];
    }
    return color;
}