Window color (Slash Command): Difference between revisions

From Unofficial Homecoming Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== Slash Command ==
== Slash Command ==
{{SlashCommandArticle|command=window_color|options= {{red|Red}} {{green|Green}} {{blue|Blue}} {{color|gray|Alpha}} |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}}


* {{red|Red}} = 000-255
* {{green|Green}} = 000-255
* {{blue|Blue}} = 000-255
* {{color|gray|Alpha}} = 000-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 3-digit integer values from 000 to 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 3-digit integer values from 000 to 255.
* {{color|gray|Alpha}} transparency values affect the window's interior opacity, ranging from 000 (clear) to 255 (solid black).


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


'''Result:'''
{{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).


{{EdNote|note=
==External Links==
City of Heroes Default = {{slashcommand|window_color}} {{red|36}} {{green|145}} {{blue|255}} {{color|gray|255}} <br />
* [https://www.rapidtables.com/web/color/RGB_Color.html RGB Color Codes Chart]
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}}
 
}}
 


{{Navbox Window Commands}}
{{Navbox Window Commands}}

Revision as of 00:13, 17 December 2022

Slash Command

/window_color Red Green Blue Alpha

Changes the window colors.


  • Red = 000-255
  • Green = 000-255
  • Blue = 000-255
  • Alpha = 000-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 3-digit integer values from 000 to 255.
  • Alpha transparency values affect the window's interior opacity, ranging from 000 (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