Created
October 25, 2010 13:08
-
-
Save bastianallgeier/644915 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<?php $hsl = rand(0, 240) . ',' . rand(50, 80) . '%,60%'; ?> | |
<style type="text/css"> | |
a { | |
color: hsl(<?php echo $hsl ?>); | |
} | |
</style> |
@samrdev I used this on my own site: http://bastianallgeier.com to generate a random main color with every page refresh.
That's a nice idea! Thanks for sharing!
Funny idea, thanks for sharing :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For what is this especially?