
Assuming rgb2hex is required, the following result was found.
G = % "0x"G B = % "0x"B R+=0 G+=0 B+=0 RGBString = % R Delimiter G Delimiter B Return RGBString } From RGB to Hexadecimal: RGB2HEX(RGBString,Delimiter="") { If Delimiter= Delimiter=, StringSplit,_RGB,RGBString,%Delimiter% SetFormat, Integer, Hex...

bc1qf6elrdxc968h0k673l2djc9wrpazhqtxw8qqp4
0xb038962F3809b425D661EF5D22294Cf45E02FebF