I found 2 colors in the code, I can’t see them at all.
2 answers
0x00FFFFFF - completely transparent white color - you will not see it
0x55000000 - a little bit visible gray color - you will only see shading over where this color lies
Just do not see it. In this case, you need to understand what is alpha channel . If an element with color 0x00FFFFFF is superimposed on another one, then the element from the bottom will "appear through". So the color of the upper element will be the same as that of the lower one.
If the element with the color 0x55000000 is superimposed on another, then it will darken by one third below.
The formula for folding colors is simple - the resulting color = background * (1-alpha channel) + front_color * alpha channel. Alpha channel is used on the overlay. Since the alpha channel is usually 0xFF, the superimposed pixel covers the bottom one.
табличка: 0xFF = 1 0x80 = 0.5 0x55 = 0.33 (1/3). 0x00 = 0
- Thank! Now clearer! - Alexbelk