# Set Color Of Text Tag

Grammar — Set type|Color Type color(s) for tag|Text Tag to color
FlagsNative | Action

Sets the color of different parts of the text tag.

# Arguments

Returns — void

native void TextTagSetColor(
	int inTag,
	int inType,
	color inColor,
);

Category: Text Tag / Formatting

# Examples

# campaigns/liberty.sc2campaign

MapScript.galaxy

// L527
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L537
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L547
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L405
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 94.90, 94.90))
// L600
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L610
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L620
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L369
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 94.90, 94.90))
// L521
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L531
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L541
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L415
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 94.90, 94.90))
// L518
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L528
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L538
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L3041
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, lp_color)
// L1435
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1448
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1511
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1524
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1587
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1600
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1646
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L2893
TextTagSetColor(TextTagLastCreated(), c_textTagColorBackground, ColorWithAlpha(6.27, 14.51, 19.61, 80.00))
// L4162
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L3041
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, lp_color)
// L1435
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1448
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1511
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1524
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1587
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1600
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L1646
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L2893
TextTagSetColor(TextTagLastCreated(), c_textTagColorBackground, ColorWithAlpha(6.27, 14.51, 19.61, 80.00))
// L4162
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L527
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L537
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L547
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L405
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 94.90, 94.90))
// L600
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L610
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L620
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L369
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 94.90, 94.90))
// L521
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L531
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L541
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L415
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 94.90, 94.90))
// L518
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L528
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L538
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L918
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 50.20, 100.00))
// L924
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 50.20, 0.00))
// L1559
TextTagSetColor(libCamp_gv__CB_Current_ChatBubble[lp_playerIndex], c_textTagColorText, libCamp_gv__CB_Line_TextColor[lv_lineIndex])
// L1564
TextTagSetColor(libCamp_gv__CB_Current_ChatBubble[lp_playerIndex], c_textTagColorBackground, libCamp_gv__CB_Line_BGColor[lv_lineIndex])
// L11896
TextTagSetColor(lv_p_TextTag, c_textTagColorText, Color(0,0,0))
// L11901
TextTagSetColor(lv_p_TextTag, c_textTagColorBackground, Color(100,100,100))

# campaigns/swarm.sc2campaign

MapScript.galaxy

// L758
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L2396
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L2441
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L2396
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L2441
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L758
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))

# mods/heroesbrawlmods/brawlmapmods/coop/pvebrawlstarcraft.stormmod

LibPESC.galaxy

// L127
TextTagSetColor(libPESC_gv_hMCLTextTag, c_textTagColorBackground, ColorWithAlpha(0.00, 25.10, 0.00, 24.71))
// L263
TextTagSetColor(libPESC_gv_hMCLTextTag, c_textTagColorText, Color(0.00, 100.00, 0.00))
// L127
TextTagSetColor(libPESC_gv_hMCLTextTag, c_textTagColorBackground, ColorWithAlpha(0.00, 25.10, 0.00, 24.71))
// L263
TextTagSetColor(libPESC_gv_hMCLTextTag, c_textTagColorText, Color(0.00, 100.00, 0.00))

# mods/heroesdata.stormmod

UILib.galaxy

// L3232
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 100.00, 0.00))
// L3238
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 100.00, 0.00))
// L3250
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 50.20, 25.10))
// L3256
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 50.20, 25.10))
// L3268
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))
// L3274
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 0.00, 0.00))

# mods/novastoryassets.sc2mod

MapScript.galaxy

// L2669
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L2714
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L2669
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))
// L2714
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(0.00, 100.00, 0.00))

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L4512
TextTagSetColor(TextTagLastCreated(), c_textTagColorText, Color(100.00, 100.00, 100.00))
// L25136
TextTagSetColor(lv_crittexttag, c_textTagColorText, Color(100.00, 0.00, 0.00))