Miscellany
public text v1 · immutablefunction hex2rgb($hex_code) {
return array('r' => hexdec(substr($hex_code, 0, 2)), 'g' => hexdec(substr($hex_code, 2, 2)), 'b' => hexdec(substr($hex_code, 4, 2)));
}function hex2rgb($hex_code) {
return array('r' => hexdec(substr($hex_code, 0, 2)), 'g' => hexdec(substr($hex_code, 2, 2)), 'b' => hexdec(substr($hex_code, 4, 2)));
}