first pass of color modes