<div>Text</div>
<table><tbody>
<tr class="white">
<td></td>
</tr>
<tr class="blue">
<td></td>
</tr>
<tr class="red">
<td></td>
</tr>
</tbody></table>
td {border: 0.1px solid black}
table {width: 26px; height: 16px; border-collapse: collapse;}
tr.white { background: white}
tr.blue { background: #2168cc}
tr.red { background: #d90000}