Script OSX Color Picker to choose a specific color and exit
This script selects one of my favorite colors from the Color picker group:

tell application "System Events"
    tell process "Evernote"


        click menu item "Show Colors" of menu 1 of menu bar item "Format" of menu bar 1

        click color well 1 of list 1 of list "favorite swatches" of scroll area 1 of splitter group 1 of window 1
        click button 1 of window 1
    end tell
end tell