DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js random hex color
'#'+Math.floor(Math.random()*16777215).toString(16);
Source by www.paulirish.com #
PREVIOUS
NEXT
Tagged:
#js
#random
#hex
#color
ADD COMMENT
Topic
COMMENT
Name
1+7 =
Submit