this app shows a random colo(u)r every time the app is opend
Find it at randomcolour.yeahright.org
The script
- generates 3 decimal color codes (for RGB)
- creates 2 images with the RGB codes
- place both images in their own directory (
faviconsandogimages) - it generates the HTML with the RGB color as background color and with the 2 images serving as
faviconandog:image
The whole backstory is on Yeah Right! Studio.
It was the lack of a dynamic favicon (the small website icon commonly showed in browsers) following the generated random color on randomcolour.com bothered us.
See https://github.com/mattmalin/randomcolour for the code from Matt Malin.
We rewrote it to a PHP script. And later on we also added a random og:image to the script. That was the moment to take it out of the studio and give it an own domain.