Sets the color of text in the frame

Signature:

SimpleHTML:SetTextColor(["element",] textR, textG, textB, textAlpha)

Arguments:

  • element - Name of an HTML element for which to set font properties (e.g. p, h1); if omitted, sets properties for the frame's default font (string)
  • 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)