JS Random Hex Color
'#'+Math.floor(Math.random()*16777215).toString(16);
Jolly Jackal
'#'+Math.floor(Math.random()*16777215).toString(16);
const randomHex = () => `#${Math.floor(Math.random() * 0xffffff).toString(16).padEnd(6, "0")}`;
console.log(randomHex());
// Result: #92b008
const crypto = require('crypto')
crypto.randomBytes(64).toString('hex')