Color255: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Examples: Unicodifying)
mNo edit summary
Line 1: Line 1:
{{lang|Color255}}[[Category:Variables]][[Category:Glossary]]
{{multipage|no-en-subpage=1}}[[Category:Variables]][[Category:Glossary]]
{{note|This is not a C++ variable.}}
{{note|This is not a C++ variable.}}


Line 18: Line 18:
== External links ==
== External links ==
* [https://www.w3schools.com/colors/colors_rgb.asp W3 Schoools Colors RGB and RGBA]
* [https://www.w3schools.com/colors/colors_rgb.asp W3 Schoools Colors RGB and RGBA]
{{MultiPage/end}}

Revision as of 11:34, 29 January 2024

Template:Multipage

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"

External links