<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.12.2 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSColorPickerTouchBarItem/strokeColorPicker(withIdentifier:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSColorPickerTouchBarItem(cm)strokeColorPickerWithIdentifier:"
  },
  "title" : "strokeColorPicker(withIdentifier:)"
}
-->

# strokeColorPicker(withIdentifier:)

Creates a bar item with the standard stroke color picker icon.

```
class func strokeColorPicker(withIdentifier identifier: NSTouchBarItem.Identifier) -> Self
```

---

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)