Answers:
--color=[always|auto|never] Display colorized output automatically, depending on the output terminal, always (using ANSI codes) or never. Note that some commands (Eg. list and info) will do a little extra work when color is enabled. Configuration Option: color
此外,如果您阅读yum.conf手册页:
红色:“大胆,红色”:
黄色:“大胆,黄色”:
蓝色:“大胆,蓝色”:
青色:'dim,cyan':
白色:“大胆”:
白色和带下划线的:“粗体,下划线”: