Functions Php

for ($red_channel=0;$red_channel<=15;$red_channel=$red_channel+3)
{
for ($green_channel=0;$green_channel<=15;$green_channel=$green_channel+3)
{
for ($blue_channel=0;$blue_channel<=15;$blue_channel=$blue_channel+3)
{
$red_channel_value=dechex($red_channel).dechex($red_channel);
$green_channel_value=dechex($green_channel).dechex($green_channel);
$blue_channel_value=dechex($blue_channel).dechex($blue_channel);
@$index_pointer++;
$hex_values_table[$index_pointer]=$red_channel_value.$green_channel_value.$blue_channel_value;
}
}
}
$index_pointer=1;
echo "";
for ($x=1;$x<=15;$x++)
{
echo "";
for ($y=1;$y<=15;$y++)
{
$display_value=@$hex_values_table[$index_pointer];
if (!$display_value)$display_value="ffffff";
echo "";
$index_pointer++;
}
echo"";
}
echo "
";
if (@$link_submitted_value=@$_REQUEST['color']) echo "You have selected:
Hexadecimal Color [$link_submitted_value]
";;
?>