I've spent most of my afternoon googling, and testing lots of color converters...
I just cant understand how B4A, or android, represents/calculates the colors integers.
Let's take the example of the color named "aliceblue", wich has an HEX representation of FF F0 F8 FF and in ARGB 255,240,248,255.
A "simple" Hex to Dec convertion gives me 4293982463, but this does not give me the color I intended to on screen...
So, if I have the Hex and/or ARGB notation, what is the formula to calculate the color's integer?
I just cant understand how B4A, or android, represents/calculates the colors integers.
Let's take the example of the color named "aliceblue", wich has an HEX representation of FF F0 F8 FF and in ARGB 255,240,248,255.
A "simple" Hex to Dec convertion gives me 4293982463, but this does not give me the color I intended to on screen...
So, if I have the Hex and/or ARGB notation, what is the formula to calculate the color's integer?