Sets the font instance's default text color. This color is used for otherwise unformatted text displayed using the font instance; however, portions of the text may be colored differently using the colorString format (commonly seen in hyperlinks).

Signature:

FontInstance:SetTextColor(textR, textG, textB, textAlpha)

Arguments:

  • textR - Red component of the text color (0.0 - 1.0) (number)
  • textG - Green component of the text color (0.0 - 1.0) (number)
  • textB - Blue component of the text color (0.0 - 1.0) (number)
  • textAlpha - Alpha (opacity) of the text (0.0 = fully transparent, 1.0 = fully opaque) (number)