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.
HTML的color
最新推荐文章于 2024-04-01 22:40:34 发布