Skip to content

Instantly share code, notes, and snippets.

@phpfiddle
Created September 23, 2014 23:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phpfiddle/1fba6c3aa6e66f713649 to your computer and use it in GitHub Desktop.
Save phpfiddle/1fba6c3aa6e66f713649 to your computer and use it in GitHub Desktop.
[ Posted by Christie Mealo ] php exercise 1
<?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