v0.13.8

C_ColorUtil.GenerateTextColorCode

functionimplementedavailable in: camelot

Generates a hex color code suitable for use in text color code markup.

signaturewowlua
function C_ColorUtil.GenerateTextColorCode(    color: ColorMixin): string

Parameters

nametypedescription
colorColorMixinColor to generate a hex color code from.

Returns

textColorCode · string · Hex representation of the color formatted as an 8-byte ARGB string, with alpha forced to 255.

In wowlua's emulated client

implementedwowlua models the system behind it. what the statuses mean

Restrictions

sources

Signature and flags: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (ColorUtil system, camelot 1.60.1). Description: warcraft.wiki.gg's API pages ↗, by its contributors, CC BY-SA 4.0 ↗.