Update randomHexColorCode.md

This commit is contained in:
David Wu
2017-12-24 14:23:45 +01:00
committed by GitHub
parent b6ac0160d1
commit ddfa270f90

View File

@ -10,7 +10,6 @@ const randomHexColorCode = () => {
while(color.length < 7) color += '0123456789ABCDEF'[Math.floor(Math.random() * 16)];
return color;
}
// randomHexColorCode() -> "#e34155"
// randomHexColorCode() -> "#fd73a6"
// randomHexColorCode() -> "#4144c6"