---
title: glyphColor
framework: mapkitjs
role: symbol
role_heading: Instance Property
path: mapkitjs/markerannotation/glyphcolor
---

# glyphColor

The fill color of the glyph.

## Declaration

```data
get glyphColor(): string;
set glyphColor(value: 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 "white".

## See Also

### Setting appearance

- [color](mapkitjs/markerannotation/color.md)
