Req on how to convert hex numbers to decimals

Hi,
If i have an input as
c1:41 c2:0x0000.00046b3e
I want to make output display as
c1:41 c2:224062
.
Basically convert first part 0x0000 (as hex) to decimal which is 0 and
convert second part 0x00046b3e (as hex) to decimal which is 289598
and as such add both parts namely 0+289598=289598
.
Is there a way to do this via awk or shell script?
Thanks
Hare.

in ksh:

$ input=0x00046b3e
$ newinput=16#${input##+([0x])}
$ echo $newinput
16#46b3e
$ typeset -i10 output
$ output=$newinput
$ echo $output
289598
$
#!/bin/ksh
# this does the math
echo "c1:41 c2:0x0000.00046b3e" | awk -F[:\.] '{ print $3, $4}' | read one two
result=$( printf "%d + %d" $one  0x"$two")
echo $result
result=$( printf "%d + %d" 0x0x000 0x00046b3e )    # check 
echo $result

Or with printf:

printf "%d\n" "0x00046b3"

Regards

Edit: Jim was faster!