Color255

From Valve Developer Community
Revision as of 13:17, 18 June 2007 by JeffLane (talk | contribs) (reverted to prev revision)
Jump to navigation Jump to search

(not a c++ variable)

A string of three bytes (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 integers (possibly strings and floats too) to be appended to the color255. This is used by light entities to store their brightness.