---
title: fillColor
framework: spritekit
role: symbol
role_heading: Instance Property
path: spritekit/skshapenode/fillcolor
---

# fillColor

The color used to fill the shape.

## Declaration

```swift
var fillColor: UIColor { get set }
```

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

## Mentioned in

Controlling Shape Drawing with Shaders Getting Started with Shape Nodes

## Discussion

Discussion The default fill color is [SKColor clearColor], which means the shape is not filled.

## See Also

### Filling a Shape

- [fillTexture](spritekit/skshapenode/filltexture.md)
