[%
  background = bg ? bg : 'white';
-%]
<span style="color:#[%color%]; background-color:[%background%]">[%text%]</span>