Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API ColorMixin GetRGBAAsBytes

Last wiki revision 2020-07-12

Returns the properties of a ColorMixin, multiplied by 255. r, g, b, a = color:GetRGBAAsBytes r, g, b = color:GetRGBAsBytes

  • r, g, b : - Scaled values between 0 and 255.
  • a : - Scaled value between 0 and 255, or 255 if it was undefined.
  • - Returns the properties without multiplying by 255.
  • - Creates a new ColorMixin using arguments similar to the returns from GetRGBAAsBytes.

Source

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