Color255

From Valve Developer Community
Revision as of 20:37, 20 July 2005 by Erik Johnson (talk | contribs) (typo)

Jump to: navigation, search

A string of three unsigned integers (0-255) separated by spaces: RED GREEN BLUE

Examples:

Red = "255 0 0"
Green = "0 255 0"
Blue = "0 0 255"
Orange = "255 128 0"

Hammer allows for additional integers (possibly strings and floats too?) to be attached to the end of the color255. This is used by light entities to store their brightness.