ColorNegate

Color Inversion (WMA link)


ColorNegate[color]

returns the negative of a color, that is, the RGB color subtracted from white.

ColorNegate[image]

returns an image where each pixel has its color negated.

Yellow is RGBColor[1.0, 1.0, 0.0] So when inverted or subtracted from White, we get blue:

ColorConvert
Darker