color Hex to decimal PHP code example
Example: hex to dec php
$hexadecimal = 'afc758';
$decimal = hexdec($hexadecimal);
echo $hexadecimal . ' -> decimal value is: ' . $decimal;
$hexadecimal = 'afc758';
$decimal = hexdec($hexadecimal);
echo $hexadecimal . ' -> decimal value is: ' . $decimal;