With below code, the colorsting always gives #DDDD. Green, Red and Space values int he How to fix this?
string colorstring; int Blue = 13; int Green = 0; int
You can also pad the characters left by including a number following the X, such as this: string.format("0x{0:X8}", string_to_modify), which yields "0x00000C20".
X
string.format("0x{0:X8}", string_to_modify)
"0x00000C20"