<div class="legend" style="direction:ltr;line-height:23px;"><div class="legend-content" style="display:inline-block;vertical-align:top;box-sizing:border-box;width:34px;height:23px;overflow:hidden;font-size:15px;border:thin solid #333;background: #000090;color:#202122;text-align:center;" title="#000090"> </div> Party 1: 34 seats</div><div class="legend" style="direction:ltr;line-height:23px;"><div class="legend-content" style="display:inline-block;vertical-align:top;box-sizing:border-box;width:34px;height:23px;overflow:hidden;font-size:15px;border:thin solid #333;background: #900000;color:#202122;text-align:center;" title="#900000"> </div> Party 2: 15 seats</div><div class="legend" style="direction:ltr;line-height:23px;"><div class="legend-content" style="display:inline-block;vertical-align:top;box-sizing:border-box;width:34px;height:23px;overflow:hidden;font-size:15px;border:thin solid #333;background: #009D00;color:#202122;text-align:center;" title="#009D00"> </div> Party 3: 1 seat</div><div class="legend" style="direction:ltr;line-height:23px;"><div class="legend-content" style="display:inline-block;vertical-align:top;box-sizing:border-box;width:34px;height:23px;overflow:hidden;font-size:15px;border:thin solid #333;background: #FFF;color:#202122;text-align:center;" title="#FFF"> </div> Party 4: 1 seat</div>
<a href="//commons.wikimedia.org/wiki/User:Pharexia" class="mw-redirect" title="User:Pharexia">Pharexia</a>
Own work  using: <a class="external text" href="https://tools.wmflabs.org/parliamentdiagram/parliamentinputform.html">Parliament diagram tool</a>