Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function colour_random() {
- var num = Math.floor(Math.random() * Math.pow(2, 24));
- return '#' + ('00000' + num.toString(16)).substr(-6);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement