You can configure color settings almost for all items in ETX-G. Background settings, text color and many others - all of the settings are colors. You can use not only solid colors, but set its transparency and use gradients.
You can set color by using its name, e.g. 'Red'. But it is recommended to use HTML-like color code such as HEX for instance: #0EAA88':
<graphics type='rect' round-corners='0.30' outline='3.0' color='#0EAA88' outline-color='white'/>
cg_hex
To set transparency to the color you should set its value in brackets just after color code, e.g. #0EAA88(100)':
cg_transparency
You can use different types of color gradient for color management. Type of gradient depends on syntax that you use for color property:
For this type you can specify color angle for gradient with color-angle property, e.g. to set angle to 30 degrees you should set color-angle='30'