Change building color based on zoom level
interpolate expression to ease-in the building layer and smoothly fade from one color to the next.
Style lines with a data-driven propertyExample
Create a visualization with a data expression for line-color.
Custom color ramp (color ramp)Example
This example shows how to create a custom color ramp and use it to visualize a point layer.