Color255: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{multiPage/sandbox|no-en-subpage=1}}
{{multiPage|no-en-subpage=1}}
{{note|This is not a C++ variable.}}
{{note|This is not a C++ variable.}}



Revision as of 15:05, 11 July 2024

Note.pngNote:Archived page history
Icon-Important.pngImportant:These pages are linked often from page history logs so Special:WhatLinksHere will not show anything.
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"

See also

External links