Bit depth is a measure of how many colors a pixel can be. Photoshop uses a number called the gray level to determine how many colors a pixel can be. The higher the gray level, the more colors a pixel can be.

Adobe Photoshop CC Tutorial 

Check out How To Change Paintbrush Color In Illustrator?