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