Contents

NSColorPanel

A standard user interface for selecting color in an app.

Declaration

class NSColorPanel

Overview

NSColorPanel provides a number of standard color selection modes and, with the NSColorPickingDefault and NSColorPickingCustom protocols, allows an app to add its own color selection modes. It also allows the user to save swatches containing frequently used colors.

Topics

Obtaining the shared color panel

Setting color picker modes

Configuring the color panel

Managing color lists

Setting color

Supporting high dynamic range (HDR) colors

Getting transparency information

Responding to a color change

See Also

Color Panels