Color255: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
 Note:This is not a C++ variable.
Note:This is not a C++ variable.
 Note:Light entities use Color255 to represent color, followed by an integer for intensity.
Note:Light entities use Color255 to represent color, followed by an integer for intensity.
Example:
		
	
| RicerC4tbo (talk | contribs) mNo edit summary |  (undone multipage) | ||
| (22 intermediate revisions by 17 users not shown) | |||
| Line 1: | Line 1: | ||
| {{LanguageBar}} | |||
| {{note|This is not a C++ variable.}} | {{note|This is not a C++ variable.}} | ||
| Line 5: | Line 5: | ||
| <code>RED GREEN BLUE</code> | <code>RED GREEN BLUE</code> | ||
| == Examples == | |||
| :Red = "<code>255 0 0</code>" | :Red = "<code>255 0 0</code>" | ||
| Line 14: | Line 14: | ||
| :Orange = "<code>255 128 0</code>" | :Orange = "<code>255 128 0</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 == | |||
| * [https://www.w3schools.com/colors/colors_rgb.asp W3 Schoools Colors RGB and RGBA] | |||
| [[Category:Variables]] | |||
| [[Category:Glossary]] | [[Category:Glossary]] | ||
Latest revision as of 06:07, 13 July 2024
 Note:This is not a C++ variable.
Note: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:Light entities use Color255 to represent color, followed by an integer for intensity.
Note:Light entities use Color255 to represent color, followed by an integer for intensity.Example:
"255 255 255 5000"
























