JavaScript Window screen.colorDepth
JavaScript Window screen.colorDepth
The colorDepth property is used to return the screen color depth. It returns depth in bits per pixel. It is a read-only property.
Syntax:-
Its syntax is:- screen.colorDepth
Return:-
Its return is:- depth of screen color in numbers like 2, 4, 16, etc.