Color255: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 12: Line 12:
:Orange = "<code>255 128 0</code>"
:Orange = "<code>255 128 0</code>"


Hammer allows for additional [[integer]]s (possibly [[string]]s and [[float]]s too?) to be attached to the end of the color255.  This is used by light entities to store their brightness.
Hammer allows for additional [[integer]]s (possibly [[string]]s and [[real |float]]s too?) to be attached to the end of the color255.  This is used by light entities to store their brightness.

Revision as of 14:57, 6 August 2005

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 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.