<span style="margin-top:-2px;margin-right:6px;color:#FFF;padding: 2px 4px;display:inline-block; background-color: #EEE; background-color: <?= $record->color ?>; border-radius: 3px;"><?= $record->name ?></span>