Invert colors🔗

Inverts the intensity of each color channel. For example in an ordinary 8-bit color image, the value c of each color channel is replaced with 255 - c. More precisely, the conversion formula is \(y = Max - x + Min\), where \(x\) is the input pixel, \(Max\) is the channel max, \(Min\) is the channel min and \(y\) is the output pixel.


  • image: Input image.


  • image: Output image.