<table border="1" cellpadding="10" cellspacing="10" style="border-collapse:collapse; width:200px; margin:auto">
<?php
$colors = array("#376ee5", "#3c763d", "#e2b70b");
for($j = 1; $j < 11; $j++){
for($i = 0; $i < count($colors); $i++){
echo "<tr style='background-color:$colors[$i]'><td>$j</td><td>Student $j</td></tr>";
}
}
?>
</table>
Как создать как показано на картинке? Есть ли способ создать цвет столбца, как на картинке? Пожалуйста, помогите мне
