Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API ColorMixin SetRGBA

Last wiki revision 2020-07-12

Changes a ColorMixin to a new color. color:SetRGBA(r, g, b [, a]) color:SetRGB(r, g, b)

  • r, g, b : - Values between 0 and 1.
  • a : - Value between 0 and 1, or nil to leave undefined (some methods will default to 100%).
  • SetRGB eliminates any previous alpha value.
  • - Returns the properties.

Source

https://warcraft.wiki.gg/wiki/API_ColorMixin_SetRGBA · 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.