Hello,
I would like to transform a column of RGB colors codes to hexadecimals codes.
In Excel ther is a function called "DECHEX" I can not find the same thing in Stata.
For exemple :
looks like that in hexa
"#B40000" is the hexadecimal transcription of "180/0/0" in RGB
Regards.
Marc
I would like to transform a column of RGB colors codes to hexadecimals codes.
In Excel ther is a function called "DECHEX" I can not find the same thing in Stata.
For exemple :
R | G | B |
180 | 0 | 0 |
h1 | h2 | h3 |
B4 | 00 | 00 |
Regards.
Marc
Comment