DesktopDisplay.ColorDepth
From Xojo Documentation
Read-Only Property (As Integer )
The color depth (in bits) of the display. Most screens use 32-bit color.
Example
This example returns the depth of the user's main display:
The color depth (in bits) of the display. Most screens use 32-bit color.
This example returns the depth of the user's main display: