I just found a great answer to generate random valid hex code colors here:
var randomColor = "#000000".replace(/0/g,function(){return (~~(Math.random()*16)).toString(16);});
and I would like to translate that to bash, I'm still scratching my head to do so. I appreciate if you can shed some lights to achieve this.
Any help is much appreciated, thanks in advance