Screen.bufferDepth (Property)

The pixel Z-depth for the off-screen buffer.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:Number primitive
JavaScript syntax:IEmyScreen.bufferDepth

This property is important if you are trying to match colors properly. Knowing that you have a limited display palette available means you can optimise your content accordingly.