KeyValues.SetColor4 Method

Sets a set of color values of a KeyValues key.

void SetColor4(const char[] key, const int color[4])

Parameters

const char[] key

Name of the key, or NULL_STRING.

const int[4] color

Red, green, blue and alpha channels.