Window color (Slash Command): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
imported>StarGeek
m (added navbox)
No edit summary
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== Slash Command ==
== Slash Command ==
{{SlashCommandArticle|command=window_color|note=Changes the window colors. Requires four values:}}
{{SlashCommandArticle|command=window_color|options= {{red|Red}} {{green|Green}} {{blue|Blue}} {{color|gray|Alpha}} |note=Changes the window colors.}}
{{red|Red}} {{green|Green}} {{blue|Blue}} {{color|gray|Alpha}}
Valid range: 000 - 255


'''Example:''' {{slashcommand|window_color}} {{red|153}} {{green|051}} {{blue|204}} {{color|gray|102}}


'''Result:'''
* {{red|Red}} = 0-255
* {{green|Green}} = 0-255
* {{blue|Blue}} = 0-255
* {{color|gray|Alpha}} = 0-255
* This command uses the RGB color system, which constructs all the colors from the combination of Red, Green and Blue. The red, green and blue colors use 8 bits each, which have integer values from 0 to 255. In general, 255 is the most intense and brightest color setting; and 0 is the least intense and darkest color setting.
* {{color|gray|Alpha}} transparency values affect the window's interior opacity, ranging from 0 (clear) to 255 (solid black).
 
 
{{EdNote|note=
City of Heroes Default = {{slashcommand|window_color}} {{red|36}} {{green|145}} {{blue|255}} {{color|gray|255}} <br />
City of Villains Default  = {{slashcommand|window_color}} {{red|166}} {{green|41}} {{blue|41}} {{color|gray|255}} <br />
Going Rogue Default  = {{slashcommand|window_color}} {{red|112}} {{green|112}} {{blue|114}} {{color|gray|255}}
}}
 
 
==Example==
{{slashcommand|window_color}} {{red|153}} {{green|051}} {{blue|204}} {{color|gray|102}}
 
'''Example Result:'''
<div style="color:#93C; background-color:#666; border:thick ridge #93C; width:180px;">
<div style="color:#93C; background-color:#666; border:thick ridge #93C; width:180px;">
&nbsp;
&nbsp;
</div>
</div>


Note: {{color|gray|Alpha}} transparency values affect the window's interior opacity, ranging from 000 (clear) to 255 (solid black).


{{Window Commands NavBox}}
==External Links==
* [https://www.rapidtables.com/web/color/RGB_Color.html RGB Color Codes Chart]
 
 
 
 
{{Navbox Window Commands}}
[[Category:Window Commands]]
[[Category:Slash Commands]]

Latest revision as of 01:27, 1 January 2023

Slash Command

/window_color Red Green Blue Alpha

Changes the window colors.


  • Red = 0-255
  • Green = 0-255
  • Blue = 0-255
  • Alpha = 0-255
  • This command uses the RGB color system, which constructs all the colors from the combination of Red, Green and Blue. The red, green and blue colors use 8 bits each, which have integer values from 0 to 255. In general, 255 is the most intense and brightest color setting; and 0 is the least intense and darkest color setting.
  • Alpha transparency values affect the window's interior opacity, ranging from 0 (clear) to 255 (solid black).


Editor's Note:

City of Heroes Default = /window_color 36 145 255 255
City of Villains Default = /window_color 166 41 41 255
Going Rogue Default = /window_color 112 112 114 255


Example

/window_color 153 051 204 102

Example Result:

 


External Links