Edit This Code:
See Result »
Click the button to display the bit depth of the color palette.
Try it
Result: