Select your shortcut in Interface Builder. In the Attribute Inspector, find Background under Appearance. Click on the color rectangle next to the color name. Opacity is one of the properties that you can set in the window that appears. Set this value to 40%.
source
to share