CSS 颜色名
在 CSS 中,可以使用颜色名称来指定颜色:
文章源自小虫博客-https://www.xczi.cn/jishu/231.html
文章源自小虫博客-https://www.xczi.cn/jishu/231.html
番茄色
橙色
道奇蓝
中海绿色
灰色
板岩蓝
紫色
浅灰
<h1 style="background-color:Tomato;">番茄色</h1>
<h1 style="background-color:Orange;">橙色</h1>
<h1 style="background-color:DodgerBlue;">道奇蓝</h1>
<h1 style="background-color:MediumSeaGreen;">中海绿色</h1>
<h1 style="background-color:Gray;">灰色</h1>
<h1 style="background-color:SlateBlue;">板岩蓝</h1>
<h1 style="background-color:Violet;">紫色</h1>
<h1 style="background-color:LightGray;">浅灰</h1>
文章源自小虫博客-https://www.xczi.cn/jishu/231.html 文章源自小虫博客-https://www.xczi.cn/jishu/231.html
评论