HTML的color

来源:互联网 发布:淘宝模板怎么制作 编辑:程序博客网 时间:2024/06/06 03:43

   The attribute value type "color" (%Color;) refers to color definitions  as specified in [SRGB].  (颜色的定义)
   A color value may either be a hexadecimal number (prefixed by a hash mark-#) or one of the following sixteen color
   names. The color names are case-insensitive.
  
                    CAPTION: Color names and sRGB values
                                     
                    Black = "#000000" Green = "#008000"
                    Silver = "#C0C0C0" Lime = "#00FF00"
                     Gray = "#808080" Olive = "#808000"
                    White = "#FFFFFF" Yellow = "#FFFF00"
                    Maroon = "#800000" Navy = "#000080"
                      Red = "#FF0000" Blue = "#0000FF"
                    Purple = "#800080" Teal = "#008080"
                    Fuchsia = "#FF00FF" Aqua = "#00FFFF"
                                     
   Thus, the color values "#800080" and "Purple" both refer to the color
   purple.

原创粉丝点击