---
title: allowsColorSelection
framework: pencilkit
role: symbol
role_heading: Instance Property
path: pencilkit/pktoolpickercustomitem/configuration-swift.struct/allowscolorselection
---

# allowsColorSelection

A Boolean value that determines whether to show the color selection UI for the tool.

## Declaration

```swift
var allowsColorSelection: Bool
```

## Discussion

Discussion The default value is false.

## See Also

### Customizing color

- [defaultColor](pencilkit/pktoolpickercustomitem/configuration-swift.struct/defaultcolor.md)
