JavaScript 参考手册
Screen colorDepth 属性
返回调色板的位深度
源代码:
点击运行 »
<script> document.write("颜色深度: " + screen.colorDepth); </script>
运行结果:
点击运行 »