Hi everyone I'm using hex numbers to be comfortable with colors... I needed to add the Alpha channel to RGB color code.. for example
this code does not work because "0xFF000000" is recognized as -16777216, do you know why?
In order to get it working I had to use the integer value -> 4278190080 instead of 0xFF000000... but it is ugly
B4X:
dim rgb_color as int = 0xFF0000
dim rgba_color as int = rgb_color + 0xFF000000
this code does not work because "0xFF000000" is recognized as -16777216, do you know why?
In order to get it working I had to use the integer value -> 4278190080 instead of 0xFF000000... but it is ugly