Created
May 20, 2011 14:36
-
-
Save PEM-FR/983032 to your computer and use it in GitHub Desktop.
Hex color generator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dojo.style( | |
zone, | |
"border", | |
"2px solid #" + ("00000"+(Math.random()*16777216<<0).toString(16)).substr(-6) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment