This plugin for Atom Text Editor makes the background of selected text cycle in a magical rainbow gradient. Concatenate text selection like a sourceror! Other Atom text selection plugins don't feature both animation and gradients. Other plugins also don't call on arcane powers beyond the mortal plane.
I think this would be a cool addition down road. This would invert the color of selected text to the opposite of background of selection.
I wasn't able to get it to work though.
https://discuss.atom.io/t/change-color-of-selected-text/6245/9
Looks like a limitation of Atom:
https://github.com/atom/atom/issues/2886
Maybe they'll fix it one day?