zoukankan      html  css  js  c++  java
  • CSS三种颜色表达方式

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>颜色表达方式</title>
        <style type="text/css">
            h1{
                color:lime;
                /*
                6字母以下好用好看的单词表述有:
    
                red     红
                tan     棕褐
                aqua    湖绿
                blue    蓝
                cyan    青
                gold    金
                gray    灰
                lime    酸橙(青橙绿)
                navy    海军
                peru    秘bì鲁色(浅褐)
                pink    粉
                plum    紫红(plum:~望梅止渴)
                snow    雪白
                teal    水鸭色,湖绿
                azure   蔚蓝
                beige   米黄
                black   黑
                brown   棕
                coral   珊瑚色
                green   绿
                ivory   象牙白
                khaki   卡其色
                linen   亚麻色
                olive   橄榄色
                wheat   小麦色
                white   白
                
                */
            }
            div{
                color: rgb(255,255,0);
                /* 红绿蓝三原色表述 */
            }
            p{
                color:#00ff00;
                /*用Photoshop取色的时候一般都是十六进制*/
            }
        </style>
    </head>
    <body>
    
        <h1>单词表述</h1>
    
        <div>
            三原色表述
        </div>
    
        <p>十六进制表述方式</p>
    
    </body>
    </html>
  • 相关阅读:
    event.currentTarget
    architecture 20190628
    jQuery extend
    Prototype js library
    this._super()
    cdn for js library
    WAMPSERVER php
    characteristics of competent communicators
    onchange and oninput
    jQuery .ready()
  • 原文地址:https://www.cnblogs.com/jrri/p/11346329.html
Copyright © 2011-2022 走看看