Added an improved system of setting the tile's color codes