This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

colorDepth

Property of css/cssom/screencss/cssom/screen

Syntax

var result = element.colorDepth;
element.colorDepth = value;

Notes

Remarks

Retrieving the value of the property through script enables you to select an appropriate color to return to the client. If bufferDepth is 0 or -1, colorDepth is equal to the bits-per-pixel value for the screen or printer. If bufferDepth is nonzero, colorDepth is equal to bufferDepth.

Syntax

Standards information

See also

Related pages

Attributions