Refactored random color list to be generic.