~/forever/addon-api/function/C_ColorUtil.WrapTextInColor
C_ColorUtil.WrapTextInColor
documented function · ColorUtil
C_ColorUtil.WrapTextInColor(text, color) : coloredTextWraps a given string with color code markup.
──ARGUMENTS
- text
- cstring (Text to be wrapped in color markup.)
- color
- colorRGB (ColorMixin) (Color to apply to the text.)
──RETURNS
- coloredText
- string (The input text wrapped in '|c' and '|r' quoted code sequences for the supplied color.)
──DETAILS
- Secret Arguments
- AllowedWhenTainted
──VERSION HISTORY
Present since at least 1.60.1.70707, the first build we track.