In Taoist philosophy, the concept of yin and yang describes how opposite qualities are interconnected and interdependent in the natural world, and how they, in fact, give rise to one another. Many natural dualities, such as light and darkness, wet and dry, female and male, and so on, are thought of as manifestations of yin and yang—complementary opposites within an all-encompassing whole.
In this Demonstration, yin (black) and yang (white) in the left-hand symbol can be interchanged either by a 180° rotation or by reversal of the opposite colors. As an added feature, you can choose as complementary colors, in addition to black/white, the pairs red/cyan, green/magenta, or blue/yellow.