UNPKG

apple-dev-mcp

Version:

Complete Apple development guidance: Human Interface Guidelines (design) + Technical Documentation for iOS, macOS, watchOS, tvOS, and visionOS

15 lines (14 loc) 1.61 kB
--- title: Color Wells platform: macOS category: foundations url: https://developer.apple.com/design/human-interface-guidelines/color-wells quality_score: 0.43 content_length: 1207 last_updated: 2025-07-20T03:47:03.732Z keywords: ["color wells","macos","foundations","color","system","interface","design","visual","selection"] has_code_examples: false has_images: false is_fallback: false --- Color wells A color well lets people adjust the color of text, shapes, guides, and other onscreen elements. A color well displays a color picker when people tap or click it. This color picker can be the system-provided one or a custom interface that you design. Best practices Consider the system-provided color picker for a familiar experience. Using the built-in color picker provides a consistent experience, in addition to letting people save a set of colors they can access from any app. The system-defined color picker can also help provide a familiar experience when developing apps across i OS, i Pad OS, and mac OS. Not supported in tv OS or watch OS.mac OSWhen people click a color well, it receives a highlight to provide visual confirmation that it’s active. It then opens a color picker so people can choose a color. After they make a selection, the color well updates to show the new color. Color wells also support drag and drop, so people can drag colors from one color well to another, and from the color picker to a color well. Resources Related Color Developer documentation UIColor Well UIKit UIColor Picker View Controller UIKit NSColor Well App Kit Color Programming Topics wells