<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/color",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Color"
}
-->

# Color

Represent colors using built-in or custom formats, and give users options for selecting and applying colors.

## Discussion

For design guidance, see [Human Interface Guidelines](https://developer.apple.com/design/human-interface-guidelines/macos/visual-design/color).

## Topics

### Colors

[`class NSColor`](/documentation/AppKit/NSColor)

An object that stores color data and sometimes opacity (alpha value).

[`class NSColorList`](/documentation/AppKit/NSColorList)

An ordered list of color objects, identified by keys.

[`class NSColorSpace`](/documentation/AppKit/NSColorSpace)

An object that represents a custom color space.

### Color Selection

[`class NSColorPicker`](/documentation/AppKit/NSColorPicker)

An abstract superclass that implements the default color picking protocol.

[`class NSColorWell`](/documentation/AppKit/NSColorWell)

A control that displays a color value and lets the user change that color value.

[`class NSColorPickerTouchBarItem`](/documentation/AppKit/NSColorPickerTouchBarItem)

A bar item that provides a system-defined color picker.

### Color Sampler

[`class NSColorSampler`](/documentation/AppKit/NSColorSampler)

An object that displays the system’s color-sampling interface and returns the selected color to your app.



---

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)