This is a color flipper with JavaScript. It generates a random hex value and changes the background color of the page.
The "Simple" page, will simply pick a random number from an array of 6 values. Whereas the "Hex" page will randomly compose a 6 digit hex.