<!--
{
  "availability" : [
    "iOS: 12.1.0 -",
    "iPadOS: 12.1.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 26.2.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIPencilPreferredAction/showColorPalette",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UIPencilPreferredAction@UIPencilPreferredActionShowColorPalette"
  },
  "title" : "UIPencilPreferredAction.showColorPalette"
}
-->

# UIPencilPreferredAction.showColorPalette

An action that toggles the display of the color palette.

```
case showColorPalette
```

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)