I'm using the font html tag and the color attribute to return colored labels. I've read online that arcade supports this html tag. Here is my script:
Solved! Go to Solution.
Unfortunately, unlike ArcGIS Pro, you can't use formatting tags in a label in a web map. The way around that limitation would be to use a different label classes for each color.
For example, these labels were created using two label classes
Snag_6adc62.png
The Deep label class uses the expression
while the Shallow label classes uses this expression
Unfortunately, unlike ArcGIS Pro, you can't use formatting tags in a label in a web map. The way around that limitation would be to use a different label classes for each color.
For example, these labels were created using two label classes
Snag_6adc62.png
The Deep label class uses the expression
while the Shallow label classes uses this expression