How can I convert a decimal number to hex in VIM?

I have this column in a file I’m editing in VIM:

16128
16132
16136
16140
# etc...

And I want to convert it to this column:

0x3f00
0x3f04
0x3f08
0x3f0c
# etc...

How can I do this in VIM?

How can I convert a decimal number to hex in VIM?