Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

XML/Color

Last wiki revision 2021-08-19

<Color> (child of, and ) sets color using RGB values or a ColorMixin, and alpha. This tag is also inherited by, , , , and. <Color r="" g="" b="" a="" /> <Color color="" a="" />

  • r - Red component from 0.0 (default) to 1.0.
  • g - Green component from 0.0 (default) to 1.0.
  • b - Blue component from 0.0 (default) to 1.0.
  • a - Alpha (opacity) from 0.0 to 1.0 (default).
  • name - Name of a ColorMixin made with.
  • Setting both rgb and color will result in an error; but alpha may be used with each.

<Layer level="BACKGROUND"> <Texture name="$parent_TextureName"> <Color r="1.0" g="1.0" b="1.0" a="1.0"/> </Texture> </Layer>

Source

https://warcraft.wiki.gg/wiki/XML/Color · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.