Tilemap calculates average color for each tile

Untested quick hacky thingy.