# SetTextCharColorRed

## Description

Sets the red component of the specified characters color. Using the SetTextColor command will override this. Values should be in the range 0-255.

## Definition

SetTextCharColorRed( iTextIndex, iCharIndex, red )

void agk::SetTextCharColorRed( UINT iTextIndex, UINT iCharIndex, UINT red )

## Parameters

- iTextIndex - The ID of the text object to set.
- iCharIndex - The index of the character to set, indexes start at 0, if the index is out of range it will be ignored.
- red - The new red value to use