Move color band function for portability with other uses.

In case another site wants to retain the functionality for their own colors.