Color255: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Spelign (Wikis bring out the pedant in me...))
Line 1: Line 1:
A string of three unsigned integers (0-255) seperated by spaces:
A string of three unsigned integers (0-255) separated by spaces:
<code>RED GREEN BLUE</code>
<code>RED GREEN BLUE</code>


 
===Examples:===
 
Examples:


:Red = "<code>255 0 0</code>"
:Red = "<code>255 0 0</code>"

Revision as of 01:09, 12 July 2005

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"

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