safe webcolors

Use \"select all\" to see hex code color values: $pick

[ RGB | RBG | GBR | GRB | BGR | BRG ]

\n"; $a = 0; while ( isset( $Colors[$a] )) { $b = 0; while ( isset( $Colors[$b] )) { $c = 0; echo "\n"; while ( isset( $Colors[$c] )) { if ($pick == "RGB") { $myColor = "#$Colors[$a]$Colors[$b]$Colors[$c]"; } else if ($pick == "RBG") { $myColor = "#$Colors[$a]$Colors[$c]$Colors[$b]"; } else if ($pick == "GRB") { $myColor = "#$Colors[$b]$Colors[$a]$Colors[$c]"; } else if ($pick == "GBR") { $myColor = "#$Colors[$b]$Colors[$c]$Colors[$a]"; } else if ($pick == "BGR") { $myColor = "#$Colors[$c]$Colors[$b]$Colors[$a]"; } else if ($pick == "BRG") { $myColor = "#$Colors[$c]$Colors[$a]$Colors[$b]"; } echo "\t\n"; $c++; } echo "\n"; $b++; } $a++; } echo "
". "$myColor
"; ?>