pointCound color condition

i want to set Color group by height in pointClound ,but
Looks unevenly distributed

what is Value range of Z

color: {
conditions: [
["{POSITION}.z < 0.2", "color('#004FFF',1)"], ["{POSITION}.z < 0.4", “color(’#33BB66’, 1)”],
["{POSITION}.z < 0.8", "color('#e43173', 1)"], ["{POSITION}.z < 1", “color(’#FFFFFF’, 1)”],
[“true”, “color(’#FFFFFF’, 1.0)”]
],
},

I think that position is only position relative to that tile’s center. You could use the “position absolute” to get the position of that point on the Earth as described here: Precision of POSITION_ABSOLUTE point attribute for 3D Tiles styles for point clouds

thanks,and how i adjust opacity base on color, the code below is not run
new Cesium.Cesium3DTileStyle({
color:‘vec4(${COLOR},0.8)’
});

Point cloud styling should work with transparency as shown here: https://sandcastle.cesium.com/index.html?src=3D%20Tiles%20Point%20Cloud%20Styling.html

Can you post a Sandcastle example showing the issue you’re running into?