How do you capture the screen with accessibility features turned on?
Take the screenshot normally, then open the image in Preview.
Press ⌥⌘C to adjust the colour of the image.
Drag the saturation slider down to the minimum.


Swap the colour positions in the histogram.





  Result: