Image Negations

The Basic Principle of Making neagtive image from a normal one involves
complimenting colors.The process of complementing involves representing colors
in a three dimensional cube with the basic colors RGB as the three axis of the cube. When all colors are represented in a cube the opposite corners represent the Complement of the color.

Complement of white is black, complement of blue is yellow. Complementing can be done using the RGB combination.

white rgb(255,255,255)

The complement of white can be obtained by rgb(255-255,255-255,255-255) which
has rgb(0,0,0) which is black.