# SetObjectColor

## Description

Sets the diffuse color to use when drawing this object. Values should be in the range 0-255 but are not limited to it. Values greater than 255 will over saturate the object and values less than 0 will take light away.

## Definition

SetObjectColor( objID, red, green, blue, alpha )

void agk::SetObjectColor( UINT objID, int red, int green, int blue, int alpha )

## Parameters

- objID - The ID of the object to modify.
- red - The red component of the color.
- green - The green component of the color.
- blue - The blue component of the color.
- alpha - The alpha component of the color.