moviepy.video.fx.all.invert_colors

moviepy.video.fx.all.invert_colors(clip)[source]

Returns the color-inversed clip.

The values of all pixels are replaced with (255-v) or (1-v) for masks Black becomes white, green becomes purple, etc.