Refactored code, attribution to nekinie now on frontend, tweaked the style slightly, now using PHP on the server for color calculation