Skip to content

ColorNegate

Negates colors in an image.

$ wo 'ColorNegate[Yellow] == Blue'
True

Negation stays in the input's color space.

$ wo 'ColorNegate[Hue[0.5]]'
Hue[0., 1., 1.]
$ wo 'ColorNegate[CMYKColor[0, 1, 1, 0]]'
CMYKColor[1., 0., 0., 0.]