Include optional dependencies of a specific package and colorize the output

pactree

pactree --optional --color {{package}}

click the source code to copy install pactree on any operating system with command-not-found.com