User:Sabaal/SkillColor

Returns a color code depending on the relationship between the two parameters provided:


 * #ffffff if parameter 1 is zero
 * #ff9c04 if parameter 1 is less than parameter 2
 * #1fc10e if parameter 1 is equal to parameter 2
 * #00ffff if parameter 1 is greater than parameter 2

This is meant to provide an appropriate color when comparing an amount of skill points to the maximum that can be allocated for that skill.