Template:Ranking movements/helper

This is a helper function for the main template to help determine the correct background color for the table cells.