colorization to render swap