Color theory is a complex subject dealing with how color represented, interpreted by programs, generated by output devices, and perceived by humans. The articles here detail how Photoshop handles color theory.
“Color modes are the basis for the representation of a pixel's color value. Between different...Color mode
“Blend Modes is one of the layer features of Adobe Photoshop. They allow them to change color...Blend Modes
“A color profile determines how an output device (i.e. monitor, printer) will interpret the color...Color profile