Calculate the number of colors representable at a given color depth (bits per pixel).
Category: Technology.