<?php
function hex2rgb($hexcode){
list($r, $g, $b) = sscanf($hexcode, "#%02x%02x%02x");
return "$r, $g, $b";
}
?>