add tagname and color to the pixel