Advertisement
BrU32

JS Random Hex Font Gen Rev Font N BG Color FX SCR FINAL!!!!!

Jan 25th, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. <body onload="Test();">
  2. <script>
  3. function Test(){
  4. setInterval("GenStrongPass()",50);
  5. }
  6. </script>
  7. <script>
  8. function styleBGColor(color){
  9. document.body.style.backgroundColor=(color);
  10. }
  11. function GenStrongPass()
  12. {
  13. var text = "";
  14. var possible = "FABCGDEG0123456789";
  15. for(var i=0; i!=6; i++)
  16. text+=possible.charAt(Math.floor(Math.random()*possible.length));
  17. document.body.style.backgroundColor=(text);
  18. document.write("<font color="+text+"<br>#"+text+"\n<br> ");
  19. }
  20. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement