I think it's the same thing except hexadecimal and without a comma...
So for example 0x6B8E23 is...
6B hex = 107 decimal
8E hex = 139 decimal
23 hex = 35 decimal
= (107,139,35)
I used the Windows calculator in "programmer mode" but of course you can also do the "conversion" in software... You can mask & bit-shift to get one byte at a time.
Once you have the RGB byte values/variables they are actually in binary and it doesn't matter if your program uses hex or decimal as the programming/input/output format.