Color255: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (updated language bar.)
Line 1: Line 1:
{{otherlang2
{{lang|Color255}}[[Category:Variables]][[Category:Glossary]]
|de=Color255:de
}}
{{note|This is not a C++ variable.}}
{{note|This is not a C++ variable.}}


Line 17: Line 15:


{{note|Light entities use [[Color255]] to represent color, followed by an '''[[integer]]''' for intensity.<br>'''Example: <code>"255 255 255 5000"</code>'''}}
{{note|Light entities use [[Color255]] to represent color, followed by an '''[[integer]]''' for intensity.<br>'''Example: <code>"255 255 255 5000"</code>'''}}
[[Category:Variables]]
[[Category:Glossary]]
[[Category:English]]

Revision as of 08:47, 9 May 2022

English (en)Deutsch (de)Hrvatski (hr)Русский (ru)中文 (zh)Translate (Translate)
Note.pngNote: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.pngNote:Light entities use Color255 to represent color, followed by an integer for intensity.
Example: "255 255 255 5000"