http://c.biancheng.net/view/1310.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style type="text/css">
div{
font-size: 30px;
color:blue;
color: rgb(255,0,0); /*红*/
color: rgb(0,255,0); /*绿*/
color: rgb(0,0,255); /*蓝*/
color: #ff0000; /*红色*/
color: #00ff00; /*绿色*/
color: #0000ff; /*蓝色*/
}
</style>
</head>
<body>
<div>这是一个div</div>
</body>
</html>