BorderColor settings ini file

Mr.X

Member
Staff member
What does the number 192 at the end mean?
Rich (BB code):
BorderColor=#0423ee,ttl,6,192
I know the other numbers meaning but this one, it's new for me.
 
The number 192 at the end is the alpha (transparency) value for the border. It’s on a 0–255 scale where:
  • 0 = fully invisible (completely transparent)
  • 255 = fully solid (no transparency)
  • 192 ≈ 75% opaque (about 25% see-through)
So for BorderColor=#0423ee,ttl,6,192:
  • #0423ee = border color (blue)
  • ttl = show the border only when the mouse is over the title bar
  • 6 = border width in pixels
  • 192 = the border’s opacity (about 75% opaque)
If you omit the fourth value the code defaults to 192. Use a lower number to make the border more see-through (e.g., 128 ≈ 50% opaque) or 255 to make it completely solid.

Performance note: A fully solid border (alpha = 255) avoids extra transparency compositing and is less likely to affect FPS. Transparent borders (alpha < 255) require additional compositing and on some systems or GPUs may cause a small drop in frame rate when the border is visible, and can cause higher CPU/GPU usage while watching videos.
 
Performance note: A fully solid border (alpha = 255) avoids extra transparency compositing and is less likely to affect FPS. Transparent borders (alpha < 255) require additional compositing and on some systems or GPUs may cause a small drop in frame rate when the border is visible, and can cause higher CPU/GPU usage while watching videos.
I think this is ver important to consider when one use a low specs computer.
 
Back
Top