>wowhelm_
~/forever/addon-api/function/C_ColorUtil.GenerateTextColorCode

C_ColorUtil.GenerateTextColorCode

documented function · ColorUtil
C_ColorUtil.GenerateTextColorCode(color) : textColorCode

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

──ARGUMENTS
color
colorRGB (ColorMixin) (Color 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.)
──DETAILS
Secret Arguments
AllowedWhenTainted
──VERSION HISTORY

Present since at least 1.60.1.70707, the first build we track.