Control (Mac)/ right mouse (Win) -click on the eye icon next to a layer (on the Layers panel) to color code a layer. Note: the Background layer will have to be converted to a layer (in the Layers panel, drag the Lock icon to the trash) before color coding.
Thanks for correcting me on this, Mike!