Formating text negative

Any one can tell me how to format a dynamic text in “negative”? I mean for example white characters on black “box”.