CSS颜色参数对照汇总Word格式.docx
《CSS颜色参数对照汇总Word格式.docx》由会员分享,可在线阅读,更多相关《CSS颜色参数对照汇总Word格式.docx(44页珍藏版)》请在冰豆网上搜索。
all"
--
描述:
颜色关键词。
-->
--[iflteIE8]>
<
scriptsrc="
../js/html5.js"
/script>
[endif]-->
styletype="
text/css"
body{
background-color:
deepskyblue;
}
table{
border:
1pxsolid#666666;
border-width:
1px;
th{
tr{
height:
40px;
td{
/style>
/head>
body>
headerid="
hd"
h1class="
tit"
/h1>
ulclass="
info"
<
li>
strong>
颜色关键字<
/strong>
/li>
/ul>
/header>
sectionid="
bd"
intro"
class="
gmodulegattr"
h2class="
16个基本颜色关键字Basiccolorkeywords<
/h2>
divclass="
cont"
<
tableclass="
gdataform"
>
<
thead>
<
tr>
<
thwidth="
200px"
Color<
/th>
150px"
ColorName<
HEX<
RGB<
/tr>
/thead>
tbody>
tdstyle="
background:
black;
&
nbsp;
/td>
td>
dfn>
black<
/dfn>
#000000<
0,0,0<
silver;
silver<
#C0C0C0<
192,192,192<
gray;
gray<
#808080<
128,128,128<
white;
white<
#FFFFFF<
255,255,255<
maroon;
maroon<
#800000<
128,0,0<
red;
red<
#FF0000<
255,0,0<
purple;
purple<
#800080<
128,0,128<
fuchsia;
fuchsia<
#FF00FF<
255,0,255<
green;
green<
#008000<
0,128,0<
lime;
lime<
#00FF00<
0,255,0<
olive;
olive<
#808000<
128,128,0<
yellow;
yellow<
#FFFF00<
255,255,0<
navy;
navy<
#000080<
0,0,128<
blue;
blue<
#0000FF<
0,0,255<
teal;
teal<
#008080<
0,128,128<
aqua;
aqua<
#00FFFF<
0,255,255<
/tbody>
/table>
/div>
gquote"
pclass="
gquote-tit"
示例代码:
/p>
blockquoteclass="
gquote-cont"
pre>
code>
body{color:
}
h1{color:
h2{color:
/code>
/pre>
/blockquote>
/section>
28个系统颜色CSSsystemcolors<
border="
1"
activeborder;
activeborder<
activecaption;
activecaption<
appworkspace;
appworkspace<
background;
background<
buttonface;
buttonface<
buttonhighlight;
buttonhighlight<
buttonshadow;
buttonshadow<
buttontext;
buttontext<
captiontext;
captiontext<
graytext;
graytext<
highlight;
highlight<
highlighttext;
highlighttext<
inactiveborder;
inactiveborder<
inactivecaption;
inactivecaption<
inactivecaptiontext;
inactivecaptiontext<
infobackground;
infobackground<
infotext;
infotext<
menu;
menu<
menutext;
menutext<
scrollbar;
scrollbar<
threeddarkshadow;
threeddarkshadow<
threedface;
threedface<
threedhighlight;
threedhighlight<
threedlightshadow;
threedlightshadow<
threedshadow;
threedshadow<
window;
window<
windowframe;
windowframe<
windowtext;
windowtext<
h1,h2{color:
gquote-info"
CSS系统颜色在CSS3中已经不被建议使用了。
尽可能的使用其它的方式来模拟系统色的色彩。
拓展颜色关键字Extendedcolorkeywords<
aliceblue;
aliceblue<
#f0f8ff<
240,248,255<
antiquewhite;
antiquewhite<
#faebd7<
250,235,215<
#00ffff<
aquamarine;
aquamarine<
#7fffd4<
127,255,212<
azure;
dfnid="
azure"
azure<
#f0ffff<
240,255,255<
tdstyle=