# SetPrintColor

## Description

Sets the color of the printed text. This is a global command and will affect all printed text in the next call to Sync. To control color on a per string basis use the Text commands. This version sets the alpha to 255, fully opaque.

## Definition

SetPrintColor( iRed, iGreen, iBlue )

void agk::SetPrintColor( UINT iRed, UINT iGreen, UINT iBlue )

SetPrintColor( iRed, iGreen, iBlue, iAlpha )

void agk::SetPrintColor( UINT iRed, UINT iGreen, UINT iBlue, UINT iAlpha )

## Parameters

- iRed - The red component of the color.
- iGreen - The green component of the color.
- iBlue - The blue component of the color.
- fSpacing - The letter spacing to use.
- iAlpha - The alpha component of the color.