Created
September 23, 2014 23:34
-
-
Save phpfiddle/1fba6c3aa6e66f713649 to your computer and use it in GitHub Desktop.
[ Posted by Christie Mealo ] php exercise 1
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 | |
$r = 0; | |
$g= 205; | |
$b = 205; | |
printf("<font size='30px', font color='#%X%X%X'>Hello</font><br />",$r,$g,$b); | |
printf("<font size='30px', font color='#%X%X%X'>Hello</font><br />",$r,$g-3,$b-3); | |
printf("<font size='30px', font color='#%X%X%X'>Hello</font><br />",$r,$g-6,$b-6); | |
printf("<font size='30px', font color='#%X%X%X'>Hello</font><br />",$r,$g-9,$b-9); | |
printf("<font size='30px', font color='#%X%X%X'>Hello</font><br />",$r,$g-12,$b-12); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment