NSColorSampler
An object that displays the system’s color-sampling interface and returns the selected color to your app.
Declaration
class NSColorSamplerOverview
Create an NSColorSampler object when you want the user to select a color based on existing onscreen colors. When you call the show(selectionHandler:) method, AppKit shows the system’s color sampler interface and reports the selected color back to the provided block.