Colored background for markup text

The \whiteout command puts a white background behind a given markup text.

This snippet shows an easy way to do this with any color.

White text on black background can simply be created by \with-color #white \on-color #black