分享

显示216种WEB安全色

 asmoke 2006-06-28
null
null
<table border="0" cellpadding="0" cellspacing="1">
<script language="vbscript">
Dim hex(6)
hex(0) = "00"
hex(1) = "33"
hex(2) = "66"
hex(3) = "99"
hex(4) = "CC"
hex(5) = "FF"
Dim i, j, k, h
For i = 5 To 0 Step -1
 document.Write "<tr>"
 For j = 0 To 5
  For k = 0 To 5
   h = hex(i) & hex(j) & hex(k)
   document.Write "<td title=‘#" & h & "‘ width=‘10‘ height=‘10‘ bgcolor=‘#" & h & "‘></td>"
  Next
 Next
 document.Write "</tr>"
Next
</script>
</table>

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约