???????CSS5 > DIV CSS???? >

css??????????y??(CSS color)

?????????2013-01-20 21:02:25 ?????css5.com.cn

CSS ???????

??
  1. ???CSS ?????color??
  2. ??????????
  3. ????????????????????
  4. ???????????color
  5. ??????????color
  6. ??????color
  7. ???color RGB????
  8. ???color ?????
  9. css ??????color???

??????CSS ?????CSS color??

????????????????????????????????????????Z??
1????????????????????????????????????????????????????????
2??????Z??????????????RGB?????

?????????????

???????????????????????????????????????????????????????????????????????????????????????????????????????????????????,???CSS ?????????

?????html?????w3c?????css???????DIV CSS???????

CSS color???????

color:#000000;

Css?????color??????RGB??????#FFFFFF ??#000000 ??#F00??
RGB???????????????????????????Photoshop?????PS???????????????

????????????????????????

1????DIV????????color??????

<div style="color:#F00">css5.com.cn</div>

2????CSS??????????color??????CSS??????

 

.CSS5{color:#00F}
/* ???????CSS5?????????? */

??????????????????CSS????????????????????CSS ?????//www.css5.com.cn/css/32.shtml

3??DIV+CSS????????????????
Css????

.CSS5{color:#00F} 
/* ???????CSS5?????????? */


HTML??????

<p> 
????????color css???<br />
<div style="color:#F00">css5.com.cn ???</div>
</p>
<p>??????????????color???<br />
<div class="CSS5">css5.com.cn ???</div>
</p>

4??????????

div css color????????e??????
??????????????color????????css???????color????????

?????????????????

???html??css ?????????????“color??”+“RGB?????”????????????????????????CSS??????????????“color:#000;”????

?]??????????????????

????????????????“bgcolor=?????”????CSS????“background:”+??????????????????????????Html????????????????“bgcolor="#000"”?????????????????????????W3C??????CSS??????????“background:#000”????

?????????????????

???“bordercolor=??”??CSS??“border-color:”+??????????????html?????table???????“bordercolor="#000"”???????????CSS??????“border-color:#000;”?????????????????????????????????????????????????

DIV+CSS???????????
???????????????????????RGB?Z??

16?????????????Windows??VGA???? ?? ?? ??? ?? ??? ?? ???? ?? ?? ?? ?? ?? ?? ?? ???? ????????? ???? ?? ??? ?? ??? ?? ??? ?? ??? ?? ??? ?? ??? ??

???RGB??????????????????

1??#rrggbb?? ?? ????00cc00?? ?????????????????????
2??#??RGB?? ?? ????0c0??
3??RGB?????x??x????x????????????0??255?????????? ?? ??RGB??0,204,0????
4??RGB??Ÿ????Ÿ????Ÿ?????????? y????????????????????0.0??100.0?? ?? ??RGB??0????80????0??????

?????????RGB?????

css ??????div css???RGB?????

??????????????????????????????

RGB???????
??????????DW?????CSS????

????CSS??????

????????????????????????????????????????????????????????????????PS????????????????????????????????????????????????????????????????color??????

???div css color?????????

???css??????????????color??????????????????????CSS????????????????????????????html?????????color???????????????????????????2????????????????????????

??????
CSS ???
CSS ???
CSS ????
CSS ???
CSS padding
CSS margin
div???????

???(Tag): ???
???????URL?????/css/116.shtml

?????css

??????DIV CSS ?? css?????
??????CSS class_CSS id