½ºÅ©¸° »ö»ó¿¡ »ç¿ëµÇ´Â Çȼ¿´ç ¹ÙÀÌÆ® ¼ö¸¦ ¹ÝȯÇϰųª ¼³Á¤ÇÑ´Ù.

Àμö
: (¼Ó¼º Á¤¼ö°ª)
¼Ó¼º°ªÀº Çȼ¿´ç ¹ÙÀÌÆ® ¼ö·Î ´ÙÀ½Áß ÇϳªÀÇ Á¤¼ö°ªÀÌ´Ù.

0 µðÆúÆ®À̸ç, Áö¸íÀûÀÎ ¹öÆÛ¸µÀÌ ¾ø´Ù.
colorDepth ¼Ó¼ºÀÌ ½ºÅ©¸° ±íÀÌ(depth)¿¡ ¼³Á¤µÈ´Ù.
-1 ½ºÅ©¸° ±íÀÌ¿¡ ¹öÆÛ¸µÀÌ ÀϾ´Ù.
colorDepth ¼Ó¼ºÀÌ ½ºÅ©¸° ±íÀÌ(depth)¿¡ ¼³Á¤µÈ´Ù.
1, 4, 8, 15, 16, 24, 32 off-screen ¹öÆÛ·Î »ç¿ëµÇ´Â Çȼ¿´ç ºñÆ®¼öÀÌ´Ù. colorDepth ¼Ó¼ºµµ °°Àº °ªÀÌ´Ù.
°ªÀÌ 15 À̸é Çȼ¿´ç 16 ºñÆ®(bit)ÀÌ°í 15ºñÆ®°¡ ½ÇÁ¦·Î »ç¿ëµÇ¸ç RGB °ª ¹èÄ¡¿¡ °¢°¢ 5 ºñÆ®¾¿(5-5-5) »ç¿ëµÈ´Ù.

ÀÌ ¼Ó¼ºÀº Àбâ/¾²±â·Î µðÆúÆ®°ªÀº 0ÀÌ´Ù.

Ư±â

Áö¿øµÇÁö ¾Ê´Â °ªÀº bufferDepth °ªÀ» -1À¸·Î ¼³Á¤ÇÑ´Ù.

bufferDepth °ªÀÌ -1ÀÌ°í, »ç¿ëÀÚ°¡ ½Ã½ºÅÛ ¼³Á¤À» º¯°æÇÏ¸é ½ºÅ©¸° ±íÀÌ°¡ º¯°æµÇ°í bufferDepthµµ ÀÚµ¿ÀûÀ¸·Î »õ·Î¿î °ªÀ» °®°Ô µÈ´Ù. ±×·¯³ª bufferDepth°¡ ƯÁ¤°ªÀ¸·Î ¼³Á¤µÇ¾î ÀÖÀ¸¸é ±×·¸Áö ¾Ê´Ù.

Àû¿ë
°³Ã¼scriptHTML±Ô°ÝIE
Âü°í
colorDepth bufferDepth

body °³Ã¼ÀÇ bottomMargin ¼Ó¼º ¿¹Á¦

<SCRIPT>
document.write('screen.bufferDepth='+screen.bufferDepth+'<BR>');
document.write('screen.colorDepth='+screen.colorDepth+'<BR>');
</SCRIPT>