Skip to reading
GUI Styling, Shaders & Effects

Set normal, hover and pressed colors

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 6. Visual Style provides separate backgrounds and an outline color.

1. Select a Button, then open Visual Style.

2. Set Background Color to #21485D.

3. Set Hover Background to #356B7F.

4. Set Pressed Background to #825F3A.

5. Set Border Color to #7199AA. In Text & Content, use #F5ECD9 for the caption.

6. Use GUI Preview or Play to compare the normal, hovered and held states.

A Label’s text color belongs in Text & Content. Changing its background color is not the same edit. For a text-only Label, an alpha-zero background and zero border width keep the focus on the words.

An opaque image can cover the background color. If a change seems ineffective, inspect Images for a background image or a Media Asset fallback before choosing a brighter color.

Page 11 of 70Permalink
Go to page