KeyValues.GetColor4 Method

Retrieves a set of color values from a KeyValues key.

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

Parameters

const char[] key

Name of the key, or NULL_STRING.

int[4] color

Red, green, blue, and alpha channels.