# SetTextColor

## Description

Set the color of the text, the values should be in the range 0-255. This will set all characters in the text to be this color. You can set individual characters using SetTextCharColor.

## Definition

SetTextColor( iTextIndex, iRed, iGreen, iBlue, iAlpha )

void agk::SetTextColor( UINT iTextIndex, UINT iRed, UINT iGreen, UINT iBlue, UINT iAlpha )

## Parameters

- iTextIndex - The ID of the text to modify.
- iRed - The red component of the color.
- iGreen - The green component of the color.
- iBlue - The blue component of the color.
- iAlpha - The alpha component of the color.