Enumeration

NSColorPanelMode

A type defined for the enum constants specifying color panel modes.

Declaration

typedef enum NSColorPanelMode : NSInteger {
    ...
} NSColorPanelMode;

Topics

Color Panel Modes

NSColorPanelModeNone

No color panel mode.

NSColorPanelModeGray

The grayscale-alpha color mode.

NSColorPanelModeRGB

The red-green-blue color mode.

NSColorPanelModeCMYK

The cyan-magenta-yellow-black color mode.

NSColorPanelModeHSB

The hue-saturation-brightness color mode.

NSColorPanelModeCustomPalette

The custom palette color mode.

NSColorPanelModeColorList

The custom color list mode.

NSColorPanelModeWheel

The color wheel mode.

NSColorPanelModeCrayon

The crayon picker mode.

Deprecated Constants

See Also

Setting Color Picker Modes

+ setPickerMode:

Specifies the color panel’s initial picker.

mode

The mode of the receiver the mode is one of the modes allowed by the color mask.

+ setPickerMask:

Determines which color selection modes are available in an application’s NSColorPanel.

NSColorPanelOptions

The color modes that are enabled for a color panel.