以下举例大多数浏览器公认的background-color颜色名及其编码; 要想对HTML颜色有更多的了解可以转向以下链接学习: https://www.w3school.com.cn/html/html_colors.asp