Implement sequential coloring routine