FANDOM


XML UI ← XML types < Color

Color defines a visible color. Attribute values are in range from 0.0 to 1.0.

Inheritance Edit

Inherited by: none, Inherits: none, Defined in: multiple

Elements Edit

none

Attributes Edit

  • r (float) - red, 0..1
  • g (float) - green, 0..1
  • b (float) - blue, 0..1
  • a (float) - alpha, 0..1. Optional, default is '1.0'.

Summary Edit

Values outside the range of 1..0 will be clamped to 1..0.

Example Edit

<Frame name="MyFrame">
  <Layers>
Layer definitions are only valid on pages of namespace "Layer"
  </Layers>
</Frame>

This example will show a opaque color texture, painted white.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.