The highlight color is used in different UI elements of the macOS applications, from the Finder folders to the address bar of Safari.
- Open the System Preferences
- Select the General tab
- Click on the Highlight Color list
- Click on Other... and select your custom color
$ defaults write NSGlobalDomain AppleHighlightColor -string "0.764700 0.976500 0.568600"
The highlight color is defined using its three RGB components in floating point
notation (each component ranges from