Color UI directives

From GECK
(Redirected from Red)
Jump to: navigation, search

These directives are a series of traits that control elements color, transparency and brightness. Most of these range from 0 to 255, but exceeding the value does not seem to cause any visual misbehavior.

  • alpha - controls transparency of an element.
  • red - controls red RGB value of an element.
  • green - controls green RGB value of an element.
  • blue - controls blue RGB value of an element.
  • brightness - controls brightness of an element.
  • systemcolor - controls all of the RGB values of an element, takes system colors or corresponding integers (SetSystemColor) as an input.

Examples

<brightness> 128 </brightness>
<systemcolor> &hudmain </systemcolor>
<systemcolor> 3 </systemcolor>

SystemColor integers

0	White
1	Amber
2	Red
3	Green

See Also