WoW:XML/Color elements
< XML
Jump to navigation
Jump to search
Attributes: r="#" g="#" b="#" a="#"
1. is a value from 0 to 1, r is red, g is green, b is blue and a is alpha
The Color element when used in a Texture element is there only to an area with a solid block of color (with thansparency). With other elements it can be used to change the color of the objects the element contains (such as the text in a fontstring). If you define file="" in the texture tag however Color will have no effect. You will have to use texturename:SetVertexColor()