# `GSShape.fillColor`

*Instance Property*

The solid color used for the fill.

## Declaration

```swift
var fillColor: NSColor? { get set }
```

```objc
@property (nonatomic, strong) NSColor * fillColor;
```

```python
fillColor() -> NSColor
setFillColor_(fillColor: NSColor)
```

## Discussion

The fill gradient takes precedence when both paints are set. Set the value to `nil` to remove the solid fill paint.

> **See Also**
> [`GSShapeKey.GSShapeKeyFillColor`](/Core/GlyphsCore/GSShapeKey/GSShapeKeyFillColor)

## See Also

### Fill Paint

- [`GSShape.fillPaint`](/Core/GlyphsCore/GSShape/fillPaint) — The effective fill paint.
- [`GSShape.fillGradient`](/Core/GlyphsCore/GSShape/fillGradient) — The gradient used for the fill.

