DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript random color
'#'+(0x1000000+(Math.random())*0xffffff).toString(16).substr(1,6)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javascript
#random
#color
ADD COMMENT
Topic
COMMENT
Name
6+3 =
Submit