<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:#DAF3FC;color:#202122;text-align:center;"> </div> WARISAN: 27 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:#A9A9A9;color:#202122;text-align:center;"> </div> Independent: 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:#ABCDFF;color:#202122;text-align:center;"> </div> UPKO: 6 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:#CC2200;color:#202122;text-align:center;"> </div> Pakatan Harapan: 9 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:#ADD8E6;color:#202122;text-align:center;"> </div> Gabungan Bersatu Sabah: 21 seats</div>
<a class="external text" href="https://tools.wmflabs.org/parliamentdiagram/parliamentinputform.html">Parliament diagram tool</a>