Mega Code Archive
Categories
/
Php
/
Functions
When you specify a color in HTML, you combine three hexadecimal numbers between 00 and FF
$red = 204; $green = 204; $blue = 204; printf( "#%x%x%x", $red, $green, $blue); ?>