Rodney Rehm 17 December 2012 For a random color (6-digit hex string) you don’t need MD5: Math.random().toString(16).substring(2, 8);
For a random color (6-digit hex string) you don’t need MD5:
Math.random().toString(16).substring(2, 8);