Does anyone know of the basic colors numbers available in .gfx files? i'd like to learn which numbers = which colors in the .gfx files however am having some trouble finding out. Has anyone possibly made a list of these numbers yet?
Printable View
Does anyone know of the basic colors numbers available in .gfx files? i'd like to learn which numbers = which colors in the .gfx files however am having some trouble finding out. Has anyone possibly made a list of these numbers yet?
If they follow the standard formular for conversion of ARGB to INT you can use windows calculator
Method 1:
- Pick a color of your choice ARGB i.e. (127, 48, 248, 7)
- start windows calculator, choose programmer mode, switch to dec view and select Dword operation mode
- use the math formula: ((A*256 + R) * 256 + G)* 256 + B = 2133915655
- this should be the argbINT used in gfx
Method 2:
- pick a color of your choice ARGB i.e. (127, 48, 248, 7)
- find the hex value (your favorite paint software should show it, or use an online converter) -> 7F30F807
- start windows calculator, choose programmer mode, switch to hex view and select Dword operation mode
- paste the hex code and switch from hex to dec = 2133915655
- this should be the argbINT used in gfx
Notes:
- it could be that the Alpha meaning is different 255 -> no transparency, 0 -> fully transparent
- also the values for G and B are sometimes switched