User:Sabaal/SkillPanel/BorderCSS

border:solid 1em # -webkit-linear-gradient(#, rgba(0, 0, 0, 0)) 1 100%

Generates the CSS code for a skill panel's border based on the given parameter (r, g, or b).