Use the Hex function ...

Code:
debug.print "&H" & Hex(RGB(255, 0, 125))