Created
October 22, 2018 09:21
-
-
Save SalocinDotTEN/2836b5b9d9cb3c8e210403b4abf23739 to your computer and use it in GitHub Desktop.
This file contains 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 | |
$colours = array('#FDA...', '#83B...', '#53A...', '#BE3...', '#A24...'); | |
echo $colours[$integerParam % count($colours) - 1]; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment