<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Reference</title>
<style>
    table { border-spacing: 0; padding: 0; border: none; }
    td { border: none; padding: 0; }
    td { width: 1.2em; height: 1.2em; }
</style>
<body>
    <p>The following table should have four matching rows changing (in 5 steps) from red at the left to black at the right: (plus a checkerboard at both ends to show where the rows are):</p>

    <div style="background: black">
    <table border="border">
        <tr>
            <td style="background: black">&nbsp;</td>
            <td style="background: rgb(255, 0, 0)">&nbsp;</td>
            <td style="background: rgb(204, 0, 0)">&nbsp;</td>
            <td style="background: rgb(153, 0, 0)">&nbsp;</td>
            <td style="background: rgb(102, 0, 0)">&nbsp;</td>
            <td style="background: rgb(51, 0, 0)">&nbsp;</td>
            <td style="background: rgb(0, 0, 0)">&nbsp;</td>
            <td style="background: white">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: white">&nbsp;</td>
            <td style="background: rgb(255, 0, 0)">&nbsp;</td>
            <td style="background: rgb(204, 0, 0)">&nbsp;</td>
            <td style="background: rgb(153, 0, 0)">&nbsp;</td>
            <td style="background: rgb(102, 0, 0)">&nbsp;</td>
            <td style="background: rgb(51, 0, 0)">&nbsp;</td>
            <td style="background: rgb(0, 0, 0)">&nbsp;</td>
            <td style="background: black">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: black">&nbsp;</td>
            <td style="background: rgb(255, 0, 0)">&nbsp;</td>
            <td style="background: rgb(204, 0, 0)">&nbsp;</td>
            <td style="background: rgb(153, 0, 0)">&nbsp;</td>
            <td style="background: rgb(102, 0, 0)">&nbsp;</td>
            <td style="background: rgb(51, 0, 0)">&nbsp;</td>
            <td style="background: rgb(0, 0, 0)">&nbsp;</td>
            <td style="background: white">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: white">&nbsp;</td>
            <td style="background: rgb(255, 0, 0)">&nbsp;</td>
            <td style="background: rgb(204, 0, 0)">&nbsp;</td>
            <td style="background: rgb(153, 0, 0)">&nbsp;</td>
            <td style="background: rgb(102, 0, 0)">&nbsp;</td>
            <td style="background: rgb(51, 0, 0)">&nbsp;</td>
            <td style="background: rgb(0, 0, 0)">&nbsp;</td>
            <td style="background: black">&nbsp;</td>
        </tr>
    </table>
    </div>

    <p>The following table should have four matching rows changing (in 5 steps) from red at the left to white at the right: (plus a checkerboard at both ends to show where the rows are):</p>

    <div style="background: white">
    <table border="border">
        <tr>
            <td style="background: black">&nbsp;</td>
            <td style="background: rgb(255, 0, 0)">&nbsp;</td>
            <td style="background: rgb(255, 51, 51)">&nbsp;</td>
            <td style="background: rgb(255, 102, 102)">&nbsp;</td>
            <td style="background: rgb(255, 153, 153)">&nbsp;</td>
            <td style="background: rgb(255, 204, 204)">&nbsp;</td>
            <td style="background: rgb(255, 255, 255)">&nbsp;</td>
            <td style="background: white">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: white">&nbsp;</td>
            <td style="background: rgb(255, 0, 0)">&nbsp;</td>
            <td style="background: rgb(255, 51, 51)">&nbsp;</td>
            <td style="background: rgb(255, 102, 102)">&nbsp;</td>
            <td style="background: rgb(255, 153, 153)">&nbsp;</td>
            <td style="background: rgb(255, 204, 204)">&nbsp;</td>
            <td style="background: rgb(255, 255, 255)">&nbsp;</td>
            <td style="background: black">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: black">&nbsp;</td>
            <td style="background: rgb(255, 0, 0)">&nbsp;</td>
            <td style="background: rgb(255, 51, 51)">&nbsp;</td>
            <td style="background: rgb(255, 102, 102)">&nbsp;</td>
            <td style="background: rgb(255, 153, 153)">&nbsp;</td>
            <td style="background: rgb(255, 204, 204)">&nbsp;</td>
            <td style="background: rgb(255, 255, 255)">&nbsp;</td>
            <td style="background: white">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: white">&nbsp;</td>
            <td style="background: rgb(255, 0, 0)">&nbsp;</td>
            <td style="background: rgb(255, 51, 51)">&nbsp;</td>
            <td style="background: rgb(255, 102, 102)">&nbsp;</td>
            <td style="background: rgb(255, 153, 153)">&nbsp;</td>
            <td style="background: rgb(255, 204, 204)">&nbsp;</td>
            <td style="background: rgb(255, 255, 255)">&nbsp;</td>
            <td style="background: black">&nbsp;</td>
        </tr>
    </table>
    </div>

    <p>The following table should have four matching rows changing (in 5 steps) from green at the left to black at the right: (plus a checkerboard at both ends to show where the rows are):</p>

    <div style="background: black">
    <table border="border">
        <tr>
            <td style="background: black">&nbsp;</td>
            <td style="background: rgb(0, 255, 0)">&nbsp;</td>
            <td style="background: rgb(0, 204, 0)">&nbsp;</td>
            <td style="background: rgb(0, 153, 0)">&nbsp;</td>
            <td style="background: rgb(0, 102, 0)">&nbsp;</td>
            <td style="background: rgb(0, 51, 0)">&nbsp;</td>
            <td style="background: rgb(0, 0, 0)">&nbsp;</td>
            <td style="background: white">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: white">&nbsp;</td>
            <td style="background: rgb(0, 255, 0)">&nbsp;</td>
            <td style="background: rgb(0, 204, 0)">&nbsp;</td>
            <td style="background: rgb(0, 153, 0)">&nbsp;</td>
            <td style="background: rgb(0, 102, 0)">&nbsp;</td>
            <td style="background: rgb(0, 51, 0)">&nbsp;</td>
            <td style="background: rgb(0, 0, 0)">&nbsp;</td>
            <td style="background: black">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: black">&nbsp;</td>
            <td style="background: rgb(0, 255, 0)">&nbsp;</td>
            <td style="background: rgb(0, 204, 0)">&nbsp;</td>
            <td style="background: rgb(0, 153, 0)">&nbsp;</td>
            <td style="background: rgb(0, 102, 0)">&nbsp;</td>
            <td style="background: rgb(0, 51, 0)">&nbsp;</td>
            <td style="background: rgb(0, 0, 0)">&nbsp;</td>
            <td style="background: white">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: white">&nbsp;</td>
            <td style="background: rgb(0, 255, 0)">&nbsp;</td>
            <td style="background: rgb(0, 204, 0)">&nbsp;</td>
            <td style="background: rgb(0, 153, 0)">&nbsp;</td>
            <td style="background: rgb(0, 102, 0)">&nbsp;</td>
            <td style="background: rgb(0, 51, 0)">&nbsp;</td>
            <td style="background: rgb(0, 0, 0)">&nbsp;</td>
            <td style="background: black">&nbsp;</td>
        </tr>
    </table>
    </div>

    <p>The following table should have four matching rows changing (in 5 steps) from green at the left to white at the right: (plus a checkerboard at both ends to show where the rows are):</p>

    <div style="background: white">
    <table border="border">
        <tr>
            <td style="background: black">&nbsp;</td>
            <td style="background: rgb(0, 255, 0)">&nbsp;</td>
            <td style="background: rgb(51, 255, 51)">&nbsp;</td>
            <td style="background: rgb(102, 255, 102)">&nbsp;</td>
            <td style="background: rgb(153, 255, 153)">&nbsp;</td>
            <td style="background: rgb(204, 255, 204)">&nbsp;</td>
            <td style="background: rgb(255, 255, 255)">&nbsp;</td>
            <td style="background: white">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: white">&nbsp;</td>
            <td style="background: rgb(0, 255, 0)">&nbsp;</td>
            <td style="background: rgb(51, 255, 51)">&nbsp;</td>
            <td style="background: rgb(102, 255, 102)">&nbsp;</td>
            <td style="background: rgb(153, 255, 153)">&nbsp;</td>
            <td style="background: rgb(204, 255, 204)">&nbsp;</td>
            <td style="background: rgb(255, 255, 255)">&nbsp;</td>
            <td style="background: black">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: black">&nbsp;</td>
            <td style="background: rgb(0, 255, 0)">&nbsp;</td>
            <td style="background: rgb(51, 255, 51)">&nbsp;</td>
            <td style="background: rgb(102, 255, 102)">&nbsp;</td>
            <td style="background: rgb(153, 255, 153)">&nbsp;</td>
            <td style="background: rgb(204, 255, 204)">&nbsp;</td>
            <td style="background: rgb(255, 255, 255)">&nbsp;</td>
            <td style="background: white">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: white">&nbsp;</td>
            <td style="background: rgb(0, 255, 0)">&nbsp;</td>
            <td style="background: rgb(51, 255, 51)">&nbsp;</td>
            <td style="background: rgb(102, 255, 102)">&nbsp;</td>
            <td style="background: rgb(153, 255, 153)">&nbsp;</td>
            <td style="background: rgb(204, 255, 204)">&nbsp;</td>
            <td style="background: rgb(255, 255, 255)">&nbsp;</td>
            <td style="background: black">&nbsp;</td>
        </tr>
    </table>
    </div>

    <p>The following table should have four matching rows changing (in 5 steps) from blue at the left to black at the right: (plus a checkerboard at both ends to show where the rows are):</p>

    <div style="background: black">
    <table border="border">
        <tr>
            <td style="background: black">&nbsp;</td>
            <td style="background: rgb(0, 0, 255)">&nbsp;</td>
            <td style="background: rgb(0, 0, 204)">&nbsp;</td>
            <td style="background: rgb(0, 0, 153)">&nbsp;</td>
            <td style="background: rgb(0, 0, 102)">&nbsp;</td>
            <td style="background: rgb(0, 0, 51)">&nbsp;</td>
            <td style="background: rgb(0, 0, 0)">&nbsp;</td>
            <td style="background: white">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: white">&nbsp;</td>
            <td style="background: rgb(0, 0, 255)">&nbsp;</td>
            <td style="background: rgb(0, 0, 204)">&nbsp;</td>
            <td style="background: rgb(0, 0, 153)">&nbsp;</td>
            <td style="background: rgb(0, 0, 102)">&nbsp;</td>
            <td style="background: rgb(0, 0, 51)">&nbsp;</td>
            <td style="background: rgb(0, 0, 0)">&nbsp;</td>
            <td style="background: black">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: black">&nbsp;</td>
            <td style="background: rgb(0, 0, 255)">&nbsp;</td>
            <td style="background: rgb(0, 0, 204)">&nbsp;</td>
            <td style="background: rgb(0, 0, 153)">&nbsp;</td>
            <td style="background: rgb(0, 0, 102)">&nbsp;</td>
            <td style="background: rgb(0, 0, 51)">&nbsp;</td>
            <td style="background: rgb(0, 0, 0)">&nbsp;</td>
            <td style="background: white">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: white">&nbsp;</td>
            <td style="background: rgb(0, 0, 255)">&nbsp;</td>
            <td style="background: rgb(0, 0, 204)">&nbsp;</td>
            <td style="background: rgb(0, 0, 153)">&nbsp;</td>
            <td style="background: rgb(0, 0, 102)">&nbsp;</td>
            <td style="background: rgb(0, 0, 51)">&nbsp;</td>
            <td style="background: rgb(0, 0, 0)">&nbsp;</td>
            <td style="background: black">&nbsp;</td>
        </tr>
    </table>
    </div>

    <p>The following table should have four matching rows changing (in 5 steps) from blue at the left to white at the right: (plus a checkerboard at both ends to show where the rows are):</p>

    <div style="background: white">
    <table border="border">
        <tr>
            <td style="background: black">&nbsp;</td>
            <td style="background: rgb(0, 0, 255)">&nbsp;</td>
            <td style="background: rgb(51, 51, 255)">&nbsp;</td>
            <td style="background: rgb(102, 102, 255)">&nbsp;</td>
            <td style="background: rgb(153, 153, 255)">&nbsp;</td>
            <td style="background: rgb(204, 204, 255)">&nbsp;</td>
            <td style="background: rgb(255, 255, 255)">&nbsp;</td>
            <td style="background: white">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: white">&nbsp;</td>
            <td style="background: rgb(0, 0, 255)">&nbsp;</td>
            <td style="background: rgb(51, 51, 255)">&nbsp;</td>
            <td style="background: rgb(102, 102, 255)">&nbsp;</td>
            <td style="background: rgb(153, 153, 255)">&nbsp;</td>
            <td style="background: rgb(204, 204, 255)">&nbsp;</td>
            <td style="background: rgb(255, 255, 255)">&nbsp;</td>
            <td style="background: black">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: black">&nbsp;</td>
            <td style="background: rgb(0, 0, 255)">&nbsp;</td>
            <td style="background: rgb(51, 51, 255)">&nbsp;</td>
            <td style="background: rgb(102, 102, 255)">&nbsp;</td>
            <td style="background: rgb(153, 153, 255)">&nbsp;</td>
            <td style="background: rgb(204, 204, 255)">&nbsp;</td>
            <td style="background: rgb(255, 255, 255)">&nbsp;</td>
            <td style="background: white">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: white">&nbsp;</td>
            <td style="background: rgb(0, 0, 255)">&nbsp;</td>
            <td style="background: rgb(51, 51, 255)">&nbsp;</td>
            <td style="background: rgb(102, 102, 255)">&nbsp;</td>
            <td style="background: rgb(153, 153, 255)">&nbsp;</td>
            <td style="background: rgb(204, 204, 255)">&nbsp;</td>
            <td style="background: rgb(255, 255, 255)">&nbsp;</td>
            <td style="background: black">&nbsp;</td>
        </tr>
    </table>
    </div>

    <p>The following table should have four matching rows changing (in 5 steps) from red at the left to green at the right: (plus a checkerboard at both ends to show where the rows are):</p>

    <div style="background: lime">
    <table border="border">
        <tr>
            <td style="background: black">&nbsp;</td>
            <td style="background: rgb(255, 0, 0)">&nbsp;</td>
            <td style="background: rgb(204, 51, 0)">&nbsp;</td>
            <td style="background: rgb(153, 102, 0)">&nbsp;</td>
            <td style="background: rgb(102, 153, 0)">&nbsp;</td>
            <td style="background: rgb(51, 204, 0)">&nbsp;</td>
            <td style="background: rgb(0, 255, 0)">&nbsp;</td>
            <td style="background: white">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: white">&nbsp;</td>
            <td style="background: rgb(255, 0, 0)">&nbsp;</td>
            <td style="background: rgb(204, 51, 0)">&nbsp;</td>
            <td style="background: rgb(153, 102, 0)">&nbsp;</td>
            <td style="background: rgb(102, 153, 0)">&nbsp;</td>
            <td style="background: rgb(51, 204, 0)">&nbsp;</td>
            <td style="background: rgb(0, 255, 0)">&nbsp;</td>
            <td style="background: black">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: black">&nbsp;</td>
            <td style="background: rgb(255, 0, 0)">&nbsp;</td>
            <td style="background: rgb(204, 51, 0)">&nbsp;</td>
            <td style="background: rgb(153, 102, 0)">&nbsp;</td>
            <td style="background: rgb(102, 153, 0)">&nbsp;</td>
            <td style="background: rgb(51, 204, 0)">&nbsp;</td>
            <td style="background: rgb(0, 255, 0)">&nbsp;</td>
            <td style="background: white">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: white">&nbsp;</td>
            <td style="background: rgb(255, 0, 0)">&nbsp;</td>
            <td style="background: rgb(204, 51, 0)">&nbsp;</td>
            <td style="background: rgb(153, 102, 0)">&nbsp;</td>
            <td style="background: rgb(102, 153, 0)">&nbsp;</td>
            <td style="background: rgb(51, 204, 0)">&nbsp;</td>
            <td style="background: rgb(0, 255, 0)">&nbsp;</td>
            <td style="background: black">&nbsp;</td>
        </tr>
    </table>
    </div>

    <p>The following table should have four matching rows changing (in 5 steps) from green at the left to blue at the right: (plus a checkerboard at both ends to show where the rows are):</p>

    <div style="background: blue">
    <table border="border">
        <tr>
            <td style="background: black">&nbsp;</td>
            <td style="background: rgb(0, 255, 0)">&nbsp;</td>
            <td style="background: rgb(0, 204, 51)">&nbsp;</td>
            <td style="background: rgb(0, 153, 102)">&nbsp;</td>
            <td style="background: rgb(0, 102, 153)">&nbsp;</td>
            <td style="background: rgb(0, 51, 204)">&nbsp;</td>
            <td style="background: rgb(0, 0, 255)">&nbsp;</td>
            <td style="background: white">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: white">&nbsp;</td>
            <td style="background: rgb(0, 255, 0)">&nbsp;</td>
            <td style="background: rgb(0, 204, 51)">&nbsp;</td>
            <td style="background: rgb(0, 153, 102)">&nbsp;</td>
            <td style="background: rgb(0, 102, 153)">&nbsp;</td>
            <td style="background: rgb(0, 51, 204)">&nbsp;</td>
            <td style="background: rgb(0, 0, 255)">&nbsp;</td>
            <td style="background: black">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: black">&nbsp;</td>
            <td style="background: rgb(0, 255, 0)">&nbsp;</td>
            <td style="background: rgb(0, 204, 51)">&nbsp;</td>
            <td style="background: rgb(0, 153, 102)">&nbsp;</td>
            <td style="background: rgb(0, 102, 153)">&nbsp;</td>
            <td style="background: rgb(0, 51, 204)">&nbsp;</td>
            <td style="background: rgb(0, 0, 255)">&nbsp;</td>
            <td style="background: white">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: white">&nbsp;</td>
            <td style="background: rgb(0, 255, 0)">&nbsp;</td>
            <td style="background: rgb(0, 204, 51)">&nbsp;</td>
            <td style="background: rgb(0, 153, 102)">&nbsp;</td>
            <td style="background: rgb(0, 102, 153)">&nbsp;</td>
            <td style="background: rgb(0, 51, 204)">&nbsp;</td>
            <td style="background: rgb(0, 0, 255)">&nbsp;</td>
            <td style="background: black">&nbsp;</td>
        </tr>
    </table>
    </div>

    <p>The following table should have four matching rows changing (in 5 steps) from blue at the left to red at the right (plus a checkerboard at both ends to show where the rows are):</p>

    <div style="background: red">
    <table border="border">
        <tr>
            <td style="background: black">&nbsp;</td>
            <td style="background: rgb(0, 0, 255)">&nbsp;</td>
            <td style="background: rgb(51, 0, 204)">&nbsp;</td>
            <td style="background: rgb(102, 0, 153)">&nbsp;</td>
            <td style="background: rgb(153, 0, 102)">&nbsp;</td>
            <td style="background: rgb(204, 0, 51)">&nbsp;</td>
            <td style="background: rgb(255, 0, 0)">&nbsp;</td>
            <td style="background: white">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: white">&nbsp;</td>
            <td style="background: rgb(0, 0, 255)">&nbsp;</td>
            <td style="background: rgb(51, 0, 204)">&nbsp;</td>
            <td style="background: rgb(102, 0, 153)">&nbsp;</td>
            <td style="background: rgb(153, 0, 102)">&nbsp;</td>
            <td style="background: rgb(204, 0, 51)">&nbsp;</td>
            <td style="background: rgb(255, 0, 0)">&nbsp;</td>
            <td style="background: black">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: black">&nbsp;</td>
            <td style="background: rgb(0, 0, 255)">&nbsp;</td>
            <td style="background: rgb(51, 0, 204)">&nbsp;</td>
            <td style="background: rgb(102, 0, 153)">&nbsp;</td>
            <td style="background: rgb(153, 0, 102)">&nbsp;</td>
            <td style="background: rgb(204, 0, 51)">&nbsp;</td>
            <td style="background: rgb(255, 0, 0)">&nbsp;</td>
            <td style="background: white">&nbsp;</td>
        </tr>
        <tr>
            <td style="background: white">&nbsp;</td>
            <td style="background: rgb(0, 0, 255)">&nbsp;</td>
            <td style="background: rgb(51, 0, 204)">&nbsp;</td>
            <td style="background: rgb(102, 0, 153)">&nbsp;</td>
            <td style="background: rgb(153, 0, 102)">&nbsp;</td>
            <td style="background: rgb(204, 0, 51)">&nbsp;</td>
            <td style="background: rgb(255, 0, 0)">&nbsp;</td>
            <td style="background: black">&nbsp;</td>
        </tr>
    </table>
    </div>
</body>
