import Color from '../Color.mjs';

const digits = '0123456789abcdef';

const { floor: floor$1, random: random$1 } = Math;

var random = () => {
    let code = '#';
    for (let i = 0; i < 6; i++) {
        code += digits.charAt(floor$1(random$1() * 16));
    }
    return new Color(code, 'hex');
};

export { random as default };
//# sourceMappingURL=random.mjs.map
