Skip to reading
GUI Styling, Shaders & Effects

4. Understand transparency before using it

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView illustrations

Figure 7. The same illustration shows through panels at different alpha levels. Text is kept on a higher drawing layer.

Source table from 4. Understand transparency before using it, page 12
Hex formMeaning
#RRGGBBA color with full alpha.
#RRGGBBAAColor plus alpha in the final two digits.
#143245FFThe panel color, opaque.
#14324580About half-opacity color.
#14324540About quarter-opacity color.
#14324500The same color, fully transparent.

In this format the final pair is alpha. Do not put alpha at the front as though the value were AARRGGBB. That would change the color channels instead.

Page 12 of 70Permalink
Go to page