Color255

From Valve Developer Community
Revision as of 19:50, 14 May 2011 by Sacaldur (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Deutsch
Note:This is 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"
Note:Light entities use Color255 to represent color, followed by an integer for intensity.
Example: "255 255 255 5000"