---
title: color
framework: pencilkit
role: symbol
role_heading: Instance Property
path: pencilkit/pkinkreference/color
---

# color

The base color for this ink.

## Declaration

```swift
var color: UIColor { get }
```

```swift
var color: NSColor { get }
```

## See Also

### Getting the ink attributes

- [inkType](pencilkit/pkinkreference/inktype.md)
