Creating negative of a an image is pretty simple. Let’s have a look at each color component values. Each color component value lies between 0-255. We want opposite value of each color component. Let’s say a color component e.g. red / green / blue has a value of 255 and we want its opposite that