Template:TierColor

Code

 * - determines how many colors are used
 * - determines which color to use
 * - determines the shade of the color (border, cell, or header)

Stolen shamelessly from the SSBWiki.