AppleScript

The Apple system-wide scripting language. Most modern applications are scriptable using AppleScript.

Resources:

Scripts:

Tips:

To run the macOS color picker as an app, fire up AppleScript Editor and save the following script as an app:

choose color