Skip to content

Instantly share code, notes, and snippets.

@sas101
Forked from bastianallgeier/hsl.php
Created September 24, 2011 14:31
Show Gist options
  • Save sas101/1239384 to your computer and use it in GitHub Desktop.
Save sas101/1239384 to your computer and use it in GitHub Desktop.
<?php $hsl = rand(0, 240) . ',' . rand(50, 80) . '%,60%'; ?>
<style type="text/css">
a {
color: hsl(<?php echo $hsl ?>);
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment