HTML DOM bufferDepth Attribute
Definition and Usage
The bufferDepth attribute sets or returns the bit depth of the palette in the off-screen bitmap buffer.
Syntax
screen.bufferDepth=number
Example
<html> <body> <script type="text/javascript"> document.write("<p>Buffer Depth: ") document.write(screen.bufferDepth + "</p>") </script> </body> </html>