How to change white to color in Photoshop, and colorize black

Colorizewhite.jpg