---
title: color
framework: mapkitjs
role: symbol
role_heading: Interface Property
path: mapkitjs/markerannotationconstructoroptions/color
---

# color

The background color of the balloon.

## Declaration

```data
color?: string;
```

## Discussion

Discussion This property accepts either a color name, such as "rebeccapurple", or a hexadecimal color value, such as "#663399" (here, the equivalent of the named color). For more information about standardized colors, see the CSS working group’s list of common color names and values. The default value is "#ff5b40" (a shade of red).

## See Also

### Setting marker annotation properties

- [glyphColor](mapkitjs/markerannotationconstructoroptions/glyphcolor.md)
- [glyphText](mapkitjs/markerannotationconstructoroptions/glyphtext.md)
- [glyphImage](mapkitjs/markerannotationconstructoroptions/glyphimage.md)
- [selectedGlyphImage](mapkitjs/markerannotationconstructoroptions/selectedglyphimage.md)
- [subtitleVisibility](mapkitjs/markerannotationconstructoroptions/subtitlevisibility.md)
- [titleVisibility](mapkitjs/markerannotationconstructoroptions/titlevisibility.md)
