---
title: "MTBackgroundLayer.color | Mobile sdk | Mobile sdk android | Android"
description: "color"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# MTBackgroundLayer.color

@Serializable(with = [ColorAsHexSerializer::class](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.style.layer.fill/-color-as-hex-serializer/))

var [color](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.style.layer.background/-m-t-background-layer/color/): [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)?

The color with which the background will be drawn. Defaults to black. Disabled by [pattern](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.style.layer.background/-m-t-background-layer/pattern/).
