Published on: | Author: Karl-Heinz
Categories: Allgemein | Tags: Hex, konvertieren, String |
Mit Hilfe von PHP RGB ind HEX umwandeln function rgb2hex($rgb){ return sprintf(„%06X“, $rgb); } [/php]
Dieses kleine PHP Script wandelt RGB Daten in Hex Farb-Daten um. function rgb2hex($rgb){ return sprintf(„%06X“, $rgb); }[/php]