<script language=JavaScript> function ChangeColor(form, ColorName) { var ColorValue = " "; if (ColorName == 'aliceblue') ColorValue = "#F0F8FF"; if (ColorName == 'antiquewhite') ColorValue = "#FAEBD7"; if (ColorName == 'aqua') ColorValue = "#00FFFF"; if (ColorName == 'aquamarine') ColorValue = "#7FFFD4"; if (ColorName == 'azure') ColorValue = "#F0FFFF"; if (ColorName == 'beige') ColorValue = "#F5F5DC"; if (ColorName == 'bisque') ColorValue = "#FFE4C4"; if (ColorName == 'black') ColorValue = "#000000"; if (ColorName == 'blanchedalmond') ColorValue = "#FFEBCD"; if (ColorName == 'blue') ColorValue = "#0000FF"; if (ColorName == 'blueviolet') ColorValue = "#8A2BE2"; if (ColorName == 'brown') ColorValue = "#A52A2A"; if (ColorName == 'burlywood') ColorValue = "#DEB887"; if (ColorName == 'cadetblue') ColorValue = "#5F9EA0"; if (ColorName == 'chartreuse') ColorValue = "#7FFF00"; if (ColorName == 'chocolate') ColorValue = "#D2691E"; if (ColorName == 'coral') ColorValue = "#FF7F50"; if (ColorName == 'cornflowerblue') ColorValue = "#6495ED"; if (ColorName == 'cornsilk') ColorValue = "#FFF8DC"; if (ColorName == 'crimson') ColorValue = "#DC143C"; if (ColorName == 'cyan') ColorValue = "#00FFFF"; if (ColorName == 'darkblue') ColorValue = "#00008B"; if (ColorName == 'darkcyan') ColorValue = "#008B8B"; if (ColorName == 'darkgoldenrod') ColorValue = "#B8860B"; if (ColorName == 'darkgray') ColorValue = "#A9A9A9"; if (ColorName == 'darkgreen') ColorValue = "#006400"; if (ColorName == 'darkkhaki') ColorValue = "#BDB76B"; if (ColorName == 'darkmagenta') ColorValue = "#8B008B"; if (ColorName == 'darkolivegreen') ColorValue = "#556B2F"; if (ColorName == 'darkorange') ColorValue = "#FF8C00"; if (ColorName == 'darkorchid') ColorValue = "#9932CC"; if (ColorName == 'darkred') ColorValue = "#8B0000"; if (ColorName == 'darksalmon') ColorValue = "#E9967A"; if (ColorName == 'darkseagreen') ColorValue = "#8FBC8F"; if (ColorName == 'darkslateblue') ColorValue = "#483D8B"; if (ColorName == 'darkslategray') ColorValue = "#2F4F4F"; if (ColorName == 'darkturquoise') ColorValue = "#00CED1"; if (ColorName == 'darkviolet') ColorValue = "#9400D3"; if (ColorName == 'deeppink') ColorValue = "#FF1493"; if (ColorName == 'deepskyblue') ColorValue = "#00BFFF"; if (ColorName == 'dimgray') ColorValue = "#696969"; if (ColorName == 'dodgerblue') ColorValue = "#1E90FF"; if (ColorName == 'firebrick') ColorValue = "#B22222"; if (ColorName == 'floralwhite') ColorValue = "#FFFAF0"; if (ColorName == 'forestgreen') ColorValue = "#228B22"; if (ColorName == 'fuchsia') ColorValue = "#FF00FF"; if (ColorName == 'gainsboro') ColorValue = "#DCDCDC"; if (ColorName == 'ghostwhite') ColorValue = "#F8F8FF"; if (ColorName == 'gold') ColorValue = "#FFD700"; if (ColorName == 'goldenrod') ColorValue = "#DAA520"; if (ColorName == 'gray') ColorValue = "#808080"; if (ColorName == 'green') ColorValue = "#008000"; if (ColorName == 'greenyellow') ColorValue = "#ADFF2F"; if (ColorName == 'honeydew') ColorValue = "#F0FFF0"; if (ColorName == 'hotpink') ColorValue = "#FF69B4"; if (ColorName == 'indianred') ColorValue = "#CD5C5C"; if (ColorName == 'indigo') ColorValue = "#4B0082"; if (ColorName == 'ivory') ColorValue = "#FFFFF0"; if (ColorName == 'khaki') ColorValue = "#F0E68C"; if (ColorName == 'lavender') ColorValue = "#E6E6FA"; if (ColorName == 'lavenderblush') ColorValue = "#FFF0F5"; if (ColorName == 'lawngreen') ColorValue = "#7CFC00"; if (ColorName == 'lemonchiffon') ColorValue = "#FFFACD"; if (ColorName == 'lightblue') ColorValue = "#ADD8E6"; if (ColorName == 'lightcoral') ColorValue = "#F08080"; if (ColorName == 'lightcyan') ColorValue = "#E0FFFF"; if (ColorName == 'lightgoldenrodyellow') ColorValue = "#FAFAD2"; if (ColorName == 'lightgreen') ColorValue = "#90EE90"; if (ColorName == 'lightgrey') ColorValue = "#D3D3D3"; if (ColorName == 'lightpink') ColorValue = "#FFB6C1"; if (ColorName == 'lightsalmon') ColorValue = "#FFA07A"; if (ColorName == 'lightseagreen') ColorValue = "#20B2AA"; if (ColorName == 'lightskyblue') ColorValue = "#87CEFA"; if (ColorName == 'lightslategray') ColorValue = "#778899"; if (ColorName == 'lightsteelblue') ColorValue = "#B0C4DE"; if (ColorName == 'lightyellow') ColorValue = "#FFFFE0"; if (ColorName == 'lime') ColorValue = "#00FF00"; if (ColorName == 'limegreen') ColorValue = "#32CD32"; if (ColorName == 'linen') ColorValue = "#FAF0E6"; if (ColorName == 'magenta') ColorValue = "#FF00FF"; if (ColorName == 'maroon') ColorValue = "#800000"; if (ColorName == 'mediumaquamarine') ColorValue = "#66CDAA"; if (ColorName == 'mediumblue') ColorValue = "#0000CD"; if (ColorName == 'mediumorchid') ColorValue = "#BA55D3"; if (ColorName == 'mediumpurple') ColorValue = "#9370DB"; if (ColorName == 'mediumseagreen') ColorValue = "#3CB371"; if (ColorName == 'mediumslateblue') ColorValue = "#7B68EE"; if (ColorName == 'mediumspringgreen') ColorValue = "#00FA9A"; if (ColorName == 'mediumturquoise') ColorValue = "#48D1CC"; if (ColorName == 'mediumvioletred') ColorValue = "#C71585"; if (ColorName == 'midnightblue') ColorValue = "#191970"; if (ColorName == 'mintcream') ColorValue = "#F5FFFA"; if (ColorName == 'mistyrose') ColorValue = "#FFE4E1"; if (ColorName == 'moccasin') ColorValue = "#FFE4B5"; if (ColorName == 'navajowhite') ColorValue = "#FFDEAD"; if (ColorName == 'navy') ColorValue = "#000080"; if (ColorName == 'oldlace') ColorValue = "#FDF5E6"; if (ColorName == 'olive') ColorValue = "#808000"; if (ColorName == 'olivedrab') ColorValue = "#6B8E23"; if (ColorName == 'orange') ColorValue = "#FFA500"; if (ColorName == 'orangered') ColorValue = "#FF4500"; if (ColorName == 'orchid') ColorValue = "#DA70D6"; if (ColorName == 'palegoldenrod') ColorValue = "#EEE8AA"; if (ColorName == 'palegreen') ColorValue = "#98FB98"; if (ColorName == 'paleturquoise') ColorValue = "#AFEEEE"; if (ColorName == 'palevioletred') ColorValue = "#DB7093"; if (ColorName == 'papayawhip') ColorValue = "#FFEFD5"; if (ColorName == 'peachpuff') ColorValue = "#FFDAB9"; if (ColorName == 'peru') ColorValue = "#CD853F"; if (ColorName == 'pink') ColorValue = "#FFC0CB"; if (ColorName == 'plum') ColorValue = "#DDA0DD"; if (ColorName == 'powderblue') ColorValue = "#B0E0E6"; if (ColorName == 'purple') ColorValue = "#800080"; if (ColorName == 'red') ColorValue = "#FF0000"; if (ColorName == 'rosybrown') ColorValue = "#BC8F8F"; if (ColorName == 'royalblue') ColorValue = "#4169E1"; if (ColorName == 'saddlebrown') ColorValue = "#8B4513"; if (ColorName == 'salmon') ColorValue = "#FA8072"; if (ColorName == 'sandybrown') ColorValue = "#F4A460"; if (ColorName == 'seagreen') ColorValue = "#2E8B57"; if (ColorName == 'seashell') ColorValue = "#FFF5EE"; if (ColorName == 'sienna') ColorValue = "#A0522D"; if (ColorName == 'silver') ColorValue = "#C0C0C0"; if (ColorName == 'skyblue') ColorValue = "#87CEEB"; if (ColorName == 'slateblue') ColorValue = "#6A5ACD"; if (ColorName == 'slategray') ColorValue = "#708090"; if (ColorName == 'snow') ColorValue = "#FFFAFA"; if (ColorName == 'springgreen') ColorValue = "#00FF7F"; if (ColorName == 'steelblue') ColorValue = "#4682B4"; if (ColorName == 'tan') ColorValue = "#D2B48C"; if (ColorName == 'teal') ColorValue = "#008080"; if (ColorName == 'thistle') ColorValue = "#D8BFD8"; if (ColorName == 'tomato') ColorValue = "#FF6347"; if (ColorName == 'turquoise') ColorValue = "#40E0D0"; if (ColorName == 'violet') ColorValue = "#EE82EE"; if (ColorName == 'wheat') ColorValue = "#F5DEB3"; if (ColorName == 'white') ColorValue = "#FFFFFF"; if (ColorName == 'whitesmoke') ColorValue = "#F5F5F5"; if (ColorName == 'yellow') ColorValue = "#FFFF00"; if (ColorName == 'yellowgreen') ColorValue = "#9ACD32"; document.bgColor = ColorName; form.CName.value = ColorName; form.CValue.value = ColorValue; var tableObj = document.all("colorTable"); if(null != tableObj ) { tableObj.bgColor = ColorName; } } </script>
颜色代码表
#000000 | #2F0000 | #600030 | #460046 | #28004D | |||||
#272727 | #4D0000 | #820041 | #5E005E | #3A006F | |||||
#3C3C3C | #600000 | #9F0050 | #750075 | #4B0091 | |||||
#4F4F4F | #750000 | #BF0060 | #930093 | #5B00AE | |||||
#5B5B5B | #930000 | #D9006C | #AE00AE | #6F00D2 | |||||
#6C6C6C | #AE0000 | #F00078 | #D200D2 | #8600FF | |||||
#7B7B7B | #CE0000 | #FF0080 | #E800E8 | #921AFF | |||||
#8E8E8E | #EA0000 | #FF359A | #FF00FF | #9F35FF | |||||
#9D9D9D | #FF0000 | #FF60AF | #FF44FF | #B15BFF | |||||
#ADADAD | #FF2D2D | #FF79BC | #FF77FF | #BE77FF | |||||
#BEBEBE | #FF5151 | #FF95CA | #FF8EFF | #CA8EFF | |||||
#d0d0d0 | #ff7575 | #ffaad5 | #ffa6ff | #d3a4ff | |||||
#E0E0E0 | #FF9797 | #FFC1E0 | #FFBFFF | #DCB5FF | |||||
#F0F0F0 | #FFB5B5 | #FFD9EC | #FFD0FF | #E6CAFF | |||||
#FCFCFC | #FFD2D2 | #FFECF5 | #FFE6FF | #F1E1FF | |||||
#FFFFFF | #FFECEC | #FFF7FB | #FFF7FF | #FAF4FF | |||||
#000079 | #000079 | #003E3E | #006030 | #006000 | |||||
#000093 | #003D79 | #005757 | #01814A | #007500 | |||||
#0000C6 | #004B97 | #007979 | #019858 | #009100 | |||||
#0000C6 | #005AB5 | #009393 | #01B468 | #00A600 | |||||
#0000E3 | #0066CC | #00AEAE | #02C874 | #00BB00 | |||||
#2828FF | #0072E3 | #00CACA | #02DF82 | #00DB00 | |||||
#4A4AFF | #0080FF | #00E3E3 | #02F78E | #00EC00 | |||||
#6A6AFF | #2894FF | #00FFFF | #1AFD9C | #28FF28 | |||||
#7D7DFF | #46A3FF | #4DFFFF | #4EFEB3 | #53FF53 | |||||
#9393FF | #66B3FF | #80FFFF | #7AFEC6 | #79FF79 | |||||
#AAAAFF | #84C1FF | #A6FFFF | #96FED1 | #93FF93 | |||||
#B9B9FF | #97CBFF | #BBFFFF | #ADFEDC | #A6FFA6 | |||||
#CECEFF | #ACD6FF | #CAFFFF | #C1FFE4 | #BBFFBB | |||||
#DDDDFF | #C4E1FF | #D9FFFF | #D7FFEE | #CEFFCE | |||||
#ECECFF | #D2E9FF | #ECFFFF | #E8FFF5 | #DFFFDF | |||||
#FBFBFF | #ECF5FF | #FDFFFF | #FBFFFD | #F0FFF0 | |||||
#467500 | #424200 | #5B4B00 | #844200 | #642100 | |||||
#548C00 | #5B5B00 | #796400 | #9F5000 | #842B00 | |||||
#64A600 | #737300 | #977C00 | #BB5E00 | #A23400 | |||||
#73BF00 | #8C8C00 | #AE8F00 | #D26900 | #BB3D00 | |||||
#82D900 | #A6A600 | #C6A300 | #EA7500 | #D94600 | |||||
#8CEA00 | #C4C400 | #D9B300 | #FF8000 | #F75000 | |||||
#9AFF02 | #E1E100 | #EAC100 | #FF9224 | #FF5809 | |||||
#A8FF24 | #F9F900 | #FFD306 | #FFA042 | #FF8040 | |||||
#B7FF4A | #FFFF37 | #FFDC35 | #FFAF60 | #FF8F59 | |||||
#C2FF68 | #FFFF6F | #FFE153 | #FFBB77 | #FF9D6F | |||||
#CCFF80 | #FFFF93 | #FFE66F | #FFC78E | #FFAD86 | |||||
#D3FF93 | #FFFFAA | #FFED97 | #FFD1A4 | #FFBD9D | |||||
#DEFFAC | #FFFFB9 | #FFF0AC | #FFDCB9 | #FFCBB3 | |||||
#E8FFC4 | #FFFFCE | #FFF4C1 | #FFE4CA | #FFDAC8 | |||||
#EFFFD7 | #FFFFDF | #FFF8D7 | #FFEEDD | #FFE6D9 | |||||
#F5FFE8 | #FFFFF4 | #FFFCEC | #FFFAF4 | #FFF3EE | |||||
#613030 | #616130 | #336666 | #484891 | #6C3365 | |||||
#743A3A | #707038 | #3D7878 | #5151A2 | #7E3D76 | |||||
#804040 | #808040 | #408080 | #5A5AAD | #8F4586 | |||||
#984B4B | #949449 | #4F9D9D | #7373B9 | #9F4D95 | |||||
#AD5A5A | #A5A552 | #5CADAD | #8080C0 | #AE57A4 | |||||
#B87070 | #AFAF61 | #6FB7B7 | #9999CC | #B766AD | |||||
#C48888 | #B9B973 | #81C0C0 | #A6A6D2 | #C07AB8 | |||||
#CF9E9E | #C2C287 | #95CACA | #B8B8DC | #CA8EC2 | |||||
#D9B3B3 | #CDCD9A | #A3D1D1 | #C7C7E2 | #D2A2CC | |||||
#E1C4C4 | #D6D6AD | #B3D9D9 | #D8D8EB | #DAB1D5 | |||||
#EBD6D6 | #DEDEBE | #C4E1E1 | #E6E6F2 | #E2C2DE | |||||
#F2E6E6 | #E8E8D0 | #D1E9E9 | #F3F3FA | #EBD3E8 |