Terminal color capabilities detection

WWW: https://ttytoolkit.org
