To make your hidden app icons transparent as shown above, Open Terminal ( From Applications --> Utilities ) and type -
defaults write com.apple.Dock showhidden -bool YES
Press Return ( Enter ) and type -
killall Dock
Subscribe to my YouTube channel for great new videos on Mac, iPhone and iPad