Color Wells

A color well lets people adjust the color of text, shapes, guides, and other onscreen elements. In Mail, for example, the Viewing preference pane includes a color well for specifying a highlight color for ungrouped messages.

Screenshot of the Mail Viewing preference pane with a color well highlighted. The pane is overlaid with the standard color panel.

When clicked, a color well darkens to provide visual confirmation that it's active. It then opens the system's color panel so people can choose a color. After a selection is made, the color well updates to show the new color.

Color wells also support drag and drop, enabling users to drag colors from one color well to another, and from the color panel to a color well.

For related guidance, see Color and Touch Bar > Controls and Views > Color Pickers. For developer guidance, see NSColorWell and Color Programming Topics.