The easiest way to do this is to use a material that has a tint colour - then all you need to do is find the tilemap render data > layer you're interested in, layer.GetComponentsInChildren<MeshRenderer>() and for every renderer do .material.color = new Color(1,1,1,0.5) or something along those lines. That will let you tint that layer at runtime in a really efficient way.