# Zoom-based Styling

{% hint style="info" %}
Zoom-based styling is useful to change how features and labels are shown at different zoom levels.
{% endhint %}

Most of the properties used on the `style` and `label` blocks can be defined using interpolators to enable zoom-based styling. Take a look at the full list of properties that can be interpolated in [the full specification](https://developers.felt.com/felt-style-language/examples).

We support multiple types of interpolators: Step functions, linear, exponential and cubic bezier to enable your map looking like you want at each zoom level. See the [*Interpolators*](https://developers.felt.com/felt-style-language/zoom-based-styling/interpolators) page.

An example of a layer changing feature colors depending on the zoom level can be found below

```json
"paint": {
  "color": {"linear": [[14, "red"], [20, "blue"]]},
  ...
}
```

On zoom levels lower than `14`, features of this layer will be rendered in `red` color. On zoom levels higher than `20`, features of this layer will be rendered in `blue` color.

In zooms between `14` and `20`, color will be linearly interpolated between `red` and `blue.`

<figure><img src="https://293097899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLlIfNdbm4rCsu755xrdc%2Fuploads%2FtjOuhtgw48y6oDWUCQud%2Ffsl_zoom_based_14.png?alt=media&#x26;token=24a29643-a379-422d-a048-352adb299106" alt=""><figcaption><p>Features at zoom level 14</p></figcaption></figure>

<figure><img src="https://293097899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLlIfNdbm4rCsu755xrdc%2Fuploads%2FVXYzEvH10y2bH4dFlr4k%2Ffsl_zoom_based_17.png?alt=media&#x26;token=ec793647-dcd7-4d5b-a011-5c7af7ed648e" alt=""><figcaption><p>Features at zoom level 17</p></figcaption></figure>

<figure><img src="https://293097899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FLlIfNdbm4rCsu755xrdc%2Fuploads%2FseuEuekpqyKxAZ26CUeN%2Ffsl_zoom_based_20.png?alt=media&#x26;token=867d6287-cbdb-476a-8834-d7ec5c809ac6" alt=""><figcaption><p>Features at zoom level 20</p></figcaption></figure>
