# `GSGlyph.colorIndex`

*Instance Property*

A standard color label, or [`GSLabelColor.GSLabelColorNoColor`](/Core/GlyphsCore/GSLabelColor/GSLabelColorNoColor) if the glyph has a custom color label or no color label.

## Declaration

```swift
var colorIndex: GSLabelColor { get set }
```

```objc
@property (nonatomic, assign) GSLabelColor colorIndex;
```

```python
colorIndex() -> GSLabelColor
setColorIndex_(colorIndex: GSLabelColor)
```

## Discussion

Setting a standard color label clears a custom [`GSGlyph.color`](/Core/GlyphsCore/GSGlyph/color).

## See Also

### Metadata

- [`GSGlyph.note`](/Core/GlyphsCore/GSGlyph/note) — A free-form note associated with the glyph.
- [`GSGlyph.color`](/Core/GlyphsCore/GSGlyph/color) — The color label used to organize the glyph, or `nil` if no color label is assigned.

