use mod to ensure colors not next to each other