<!--
{
  "availability" : [
    "macOS: 10.0.0 - 11.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSColor/knobColor",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSColor(cpy)knobColor"
  },
  "title" : "knobColor"
}
-->

# knobColor

The system color used for the flat surface of a slider knob that hasn’t been selected.

```
class var knobColor: NSColor { get }
```

## Return Value

The system color used for an unselected slider knob.

## Discussion

The knob’s beveled edges, which set it in relief, are drawn in highlighted and shadowed versions of the face color. When a knob is selected, its color changes to [`selectedKnobColor`](/documentation/AppKit/NSColor/selectedKnobColor). For more information, see [`NSColor`](/documentation/AppKit/NSColor).

---

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)