From Valve Developer Community
Jump to: navigation, search
This is a documentation subpage for Template:Color.
Don't forget to purge the contents of the base page upon creating or editing this subpage.  


Parameters and Examples

Parameter Description Example Preview
No parameters Template will revert to the default values if not specified within the parser functions. {{Color}} #000000
{{r|g|b}} Setting the values for r,g,b will give you a specified color. {{Color|r=200|g=128|b=64}} #C88040
{{rgb}} Controls the r,g,b function, if set to 255 the color code will show #FFFFFF {{Color|rgb=100}}
{{a}} Alpha channel [confirm] {{Color|rgb=255|a=1}}