Color255: Difference between revisions
Jump to navigation
Jump to search
Note:This is not a C++ variable.
Note:Light entities use Color255 to represent color, followed by an integer for intensity.
Example:
No edit summary |
SirYodaJedi (talk | contribs) mNo edit summary |
||
Line 15: | 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>'''}} | ||
== See also == | |||
* [[Color1]] | |||
== External links == | == External links == |
Revision as of 09:06, 11 July 2024

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
"

Example:
"255 255 255 5000"