来谈谈:HTML的一些关于色彩方面的参考
使用HTML5也是断断续续的有些历史了,但是没有系统的总结过,最近发现公司的图书馆有不少藏书,在HTML里,色彩有两种暗示体例。一种是用色彩称号暗示,好比blue暗示蓝色。别的一种是用16进制的数值暗示RGB的色彩值。RGB是Red,Green,Blue意义,RGB每一个原色的最小值是0,最年夜值是255,假如换算成16进制暗示,就是(#00),(#FF)。好比红色的RGB(255,255,255),就用#FFFFFF暗示;另有玄色的RGB(0,0,0),就用#000000暗示。注:在W3C制订的HTML4.0尺度中,只要16种色彩能够用色彩称号暗示(aqua,black,blue,fuchsia,gray,green,lime,maroon,navy,olive,purple,red,silver,teal,white,andyellow),别的的色彩都要用16进制RGB色彩值暗示。种分歧的体系保存色彩。以下就是216种Web平安色彩:#这个标记。56种Web平安色彩呢?由于Microsoft和Mac操纵体系有。
固然,如今的扫瞄器撑持更多的色彩称号。不外为保险起见,倡议你仍是接纳16进制RGB色彩值来暗示色彩。而且在值前加上#这个标记。
为了便利人人找到符合的色彩,我们在这里列了一些色彩申明,以供人人参考,无妨作为一种速查工具。
Web平安色彩
之前,良多电脑显现器最多撑持256色,因而呈现了216种Web平安色彩,以包管网页的色彩可以准确显现。
以下就是216种Web平安色彩:000000暗示。以包管网页的色彩可以准确显现。
那为何不是256种Web平安色彩呢?由于Microsoft和Mac操纵体系有40种分歧的体系保存色彩。
green,lime,maroon,navy,olive!
以下就是216种Web平安色彩:
#000000#000033#000066#000099#0000cc#0000ff#003300#003333#003366#003399#0033cc#0033ff#006600#006633#006666#006699#0066cc#0066ff#009900#009933#009966#009999#0099cc#0099ff#00cc00#00cc33#00cc66#00cc99#00cccc#00ccff#00ff00#00ff33#00ff66#00ff99#00ffcc#00ffff#330000#330033#330066#330099#3300cc#3300ff#333300#333333#333366#333399#3333cc#3333ff#336600#336633#336666#336699#3366cc#3366ff#339900#339933#339966#339999#3399cc#3399ff#33cc00#33cc33#33cc66#33cc99#33cccc#33ccff#33ff00#33ff33#33ff66#33ff99#33ffcc#33ffff#660000#660033#660066#660099#6600cc#6600ff#663300#663333#663366#663399#6633cc#6633ff#666600#666633#666666#666699#6666cc#6666ff#669900#669933#669966#669999#6699cc#6699ff#66cc00#66cc33#66cc66#66cc99#66cccc#66ccff#66ff00#66ff33#66ff66#66ff99#66ffcc#66ffff#990000#990033#990066#990099#9900cc#9900ff#993300#993333#993366#993399#9933cc#9933ff#996600#996633#996666#996699#9966cc#9966ff#999900#999933#999966#999999#9999cc#9999ff#99cc00#99cc33#99cc66#99cc99#99cccc#99ccff#99ff00#99ff33#99ff66#99ff99#99ffcc#99ffff#cc0000#cc0033#cc0066#cc0099#cc00cc#cc00ff#cc3300#cc3333#cc3366#cc3399#cc33cc#cc33ff#cc6600#cc6633#cc6666#cc6699#cc66cc#cc66ff#cc9900#cc9933#cc9966#cc9999#cc99cc#cc99ff#cccc00#cccc33#cccc66#cccc99#cccccc#ccccff#ccff00#ccff33#ccff66#ccff99#ccffcc#ccffff#ff0000#ff0033#ff0066#ff0099#ff00cc#ff00ff#ff3300#ff3333#ff3366#ff3399#ff33cc#ff33ff#ff6600#ff6633#ff6666#ff6699#ff66cc#ff66ff#ff9900#ff9933#ff9966#ff9999#ff99cc#ff99ff#ffcc00#ffcc33#ffcc66#ffcc99#ffcccc#ffccff#ffff00#ffff33#ffff66#ffff99#ffffcc#ffffff微软撑持的色彩称号
上面是微软IE4.0以上都撑持的色彩称号:
aliceblue
(#f0f8ff)antiquewhite
(#faebd7)aqua
(#00ffff)aquamarine
(#7fffd4)azure
(#f0ffff)beige
(#f5f5dc)bisque
(#ffe4c4)black
(#000000)blanchedalmond
(#ffebcd)blue
(#0000ff)blueviolet
(#8a2be2)brown
(#a52a2a)burlywood
(#deb887)cadetblue
(#5f9ea0)chartreuse
(#7fff00)chocolate
(#d2691e)coral
(#ff7f50)cornflowerblue
(#6495ed)cornsilk
(#fff8dc)crimson
(#dc143c)cyan
(#00ffff)darkblue
(#00008b)darkcyan
(#008b8b)darkgoldenrod
(#b8860b)darkgray
(#a9a9a9)darkgreen
(#006400)darkkhaki
(#bdb76b)darkmagenta
(#8b008b)darkolivegreen
(#556b2f)darkorange
(#ff8c00)darkorchid
(#9932cc)darkred
(#8b0000)darksalmon
(#e9967a)darkseagreen
(#8fbc8b)darkslateblue
(#483d8b)darkslategray
(#2f4f4f)darkturquoise
(#00ced1)darkviolet
(#9400d3)deeppink
(#ff1493)deepskyblue
(#00bfff)dimgray
(#696969)dodgerblue
(#1e90ff)firebrick
(#b22222)floralwhite
(#fffaf0)forestgreen
(#228b22)fuchsia
(#ff00ff)gainsboro
(#dcdcdc)ghostwhite
(#f8f8ff)gold
(#ffd700)goldenrod
(#daa520)gray
(#808080)green
(#008000)greenyellow
(#adff2f)honeydew
(#f0fff0)hotpink
(#ff69b4)indianred
(#cd5c5c)indigo
(#4b0082)ivory
(#fffff0)khaki
(#f0e68c)lavender
(#e6e6fa)lavenderblush
(#fff0f5)lawngreen
(#7cfc00)lemonchiffon
(#fffacd)lightblue
(#add8e6)lightcoral
(#f08080)lightcyan
(#e0ffff)lightgoldenrodyellow
(#fafad2)lightgreen
(#90ee90)lightgrey
(#d3d3d3)lightpink
(#ffb6c1)lightsalmon
(#ffa07a)lightseagreen
(#20b2aa)lightskyblue
(#87cefa)lightslategray
(#778899)lightsteelblue
(#b0c4de)lightyellow
(#ffffe0)lime
(#00ff00)limegreen
(#32cd32)linen
(#faf0e6)magenta
(#ff00ff)maroon
(#800000)mediumaquamarine
(#66cdaa)mediumblue
(#0000cd)mediumorchid
(#ba55d3)mediumpurple
(#9370db)mediumseagreen
(#3cb371)mediumslateblue
(#7b68ee)mediumspringgreen
(#00fa9a)mediumturquoise
(#48d1cc)mediumvioletred
(#c71585)midnightblue
(#191970)mintcream
(#f5fffa)mistyrose
(#ffe4e1)moccasin
(#ffe4b5)navajowhite
(#ffdead)navy
(#000080)oldlace
(#fdf5e6)olive
(#808000)olivedrab
(#6b8e23)orange
(#ffa500)orangered
(#ff4500)orchid
(#da70d6)palegoldenrod
(#eee8aa)palegreen
(#98fb98)paleturquoise
(#afeeee)palevioletred
(#db7093)papayawhip
(#ffefd5)peachpuff
(#ffdab9)peru
(#cd853f)pink
(#ffc0cb)plum
(#dda0dd)powderblue
(#b0e0e6)purple
(#800080)red
(#ff0000)rosybrown
(#bc8f8f)royalblue
(#4169e1)saddlebrown
(#8b4513)salmon
(#fa8072)sandybrown
(#f4a460)seagreen
(#2e8b57)seashell
(#fff5ee)sienna
(#a0522d)silver
(#c0c0c0)skyblue
(#87ceeb)slateblue
(#6a5acd)slategray
(#708090)snow
(#fffafa)springgreen
(#00ff7f)steelblue
(#4682b4)tan
(#d2b48c)teal
(#008080)thistle
(#d8bfd8)tomato
(#ff6347)turquoise
(#40e0d0)violet
(#ee82ee)wheat
(#f5deb3)white
(#ffffff)whitesmoke
(#f5f5f5)yellow
(#ffff00)yellowgreen
(#9acd32)</p>
Resig在2008年在其博客中介绍过HTML5的data-属性,现如今HTML5在如火如荼地推广,似乎国内的技术有些延迟,这篇博文可以在这里找到。 布局表格、绘制层、制作CSS样式表等,这些内容迷糊了我的视线,真是没想到制作一个精巧别致的网页是如此的困难,可是心有不甘。 Dreamweaver由MX版本开始使用Opera软件公司的排版引擎“Presto”作为网页预览。 Dreamweaver是唯一提供Roundtrip HTML、视觉化编辑与原始码编辑同步的设计工具。它包含HomeSite和BBEdit等主流文字编辑器。 Dreamweaver是集网页制作和管理网站于一身的所见即所得网页编辑器,在编辑时能同时看到源码和设计界面,非常方便新手学习制作网页。 HTML技术的不断发展和完善,随之而产生了众多网页编辑器,从网页编辑器基本性质可以分为所见即所得网页编辑器和非所见即所得网页编辑器(则原始代码编辑器) 直接用代码建立链接,如:可以直接输入 <a herf = \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"red.html\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\">红色的网页 12、插入标签法建立链接,可以再选中文字后在代码中插入html标签,页元素<a>.也可以按ctrl+t进入html标签插入方法之后输入代码即可。 我深感到交流的重要。善于交流的人才是善于学习的人。在整个技术的学习过程中,我总结了四大定律:兴趣、恒心、虚心、时间。
页:
[1]