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:
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{multipage|no-en-subpage=1}} | {{multipage|no-en-subpage=1}} | ||
{{note|This is not a C++ variable.}} | {{note|This is not a C++ variable.}} | ||
Line 19: | Line 19: | ||
* [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}} | {{MultiPage/end}} | ||
[[Category:Variables]][[Category:Glossary]] |
Revision as of 11:34, 29 January 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"