Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<head>
<title>CSS Test: hsla() values</title>
<link rel="author" title="L. David Baron" href="https://dbaron.org/" />
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
<link rel="help" href="http://www.w3.org/TR/css3-color/#hsla-color" />
<link rel="match" href="t425-hsla-values-b-ref.html" />
<meta name="assert" content="Implementation of algorithm for converting hsla() colors to rgba() colors." />
<style type="text/css"><![CDATA[
table { border-spacing: 0; padding: 0; border: none; }
td { border: none; padding: 0; }
td { width: 1.2em; height: 1.2em; }
]]></style>
</head>
<body>
<p>The following table should have three 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: hsla(0, 100%, 50%, 1)">&nbsp;</td>
<td style="background: hsla(0, 100%, 50%, 0.8)">&nbsp;</td>
<td style="background: hsla(0, 100%, 50%, 0.6)">&nbsp;</td>
<td style="background: hsla(0, 100%, 50%, 0.4)">&nbsp;</td>
<td style="background: hsla(0, 100%, 50%, 0.2)">&nbsp;</td>
<td style="background: hsla(0, 100%, 50%, 0)">&nbsp;</td>
<td style="background: white">&nbsp;</td>
</tr>
<tr>
<td style="background: white">&nbsp;</td>
<td style="background: hsla(0, 100%, 50%, 1.0)">&nbsp;</td>
<td style="background: hsla(0, 100%, 40%, 1.0)">&nbsp;</td>
<td style="background: hsla(0, 100%, 30%, 1.0)">&nbsp;</td>
<td style="background: hsla(0, 100%, 20%, 1.0)">&nbsp;</td>
<td style="background: hsla(0, 100%, 10%, 1.0)">&nbsp;</td>
<td style="background: hsla(0, 100%, 0%, 1.0)">&nbsp;</td>
<td style="background: black">&nbsp;</td>
</tr>
<tr>
<td style="background: black">&nbsp;</td>
<td style="background: rgb(100%, 0%, 0%)">&nbsp;</td>
<td style="background: rgb(80%, 0%, 0%)">&nbsp;</td>
<td style="background: rgb(60%, 0%, 0%)">&nbsp;</td>
<td style="background: rgb(40%, 0%, 0%)">&nbsp;</td>
<td style="background: rgb(20%, 0%, 0%)">&nbsp;</td>
<td style="background: rgb(0%, 0%, 0%)">&nbsp;</td>
<td style="background: white">&nbsp;</td>
</tr>
</table>
</div>
<p>The following table should have three 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: white">&nbsp;</td>
<td style="background: hsla(0, 100%, 50%, 1)">&nbsp;</td>
<td style="background: hsla(0, 100%, 50%, 0.8)">&nbsp;</td>
<td style="background: hsla(0, 100%, 50%, 0.6)">&nbsp;</td>
<td style="background: hsla(0, 100%, 50%, 0.4)">&nbsp;</td>
<td style="background: hsla(0, 100%, 50%, 0.2)">&nbsp;</td>
<td style="background: hsla(0, 100%, 50%, 0)">&nbsp;</td>
<td style="background: black">&nbsp;</td>
</tr>
<tr>
<td style="background: black">&nbsp;</td>
<td style="background: hsla(0, 100%, 50%, 1.0)">&nbsp;</td>
<td style="background: hsla(0, 100%, 60%, 1.0)">&nbsp;</td>
<td style="background: hsla(0, 100%, 70%, 1.0)">&nbsp;</td>
<td style="background: hsla(0, 100%, 80%, 1.0)">&nbsp;</td>
<td style="background: hsla(0, 100%, 90%, 1.0)">&nbsp;</td>
<td style="background: hsla(0, 100%, 100%, 1.0)">&nbsp;</td>
<td style="background: white">&nbsp;</td>
</tr>
<tr>
<td style="background: white">&nbsp;</td>
<td style="background: rgb(100%, 0%, 0%)">&nbsp;</td>
<td style="background: rgb(100%, 20%, 20%)">&nbsp;</td>
<td style="background: rgb(100%, 40%, 40%)">&nbsp;</td>
<td style="background: rgb(100%, 60%, 60%)">&nbsp;</td>
<td style="background: rgb(100%, 80%, 80%)">&nbsp;</td>
<td style="background: rgb(100%, 100%, 100%)">&nbsp;</td>
<td style="background: black">&nbsp;</td>
</tr>
</table>
</div>
<p>The following table should have three matching rows changing (in 5 steps) from yellow 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: hsla(60, 100%, 50%, 1)">&nbsp;</td>
<td style="background: hsla(60, 100%, 50%, 0.8)">&nbsp;</td>
<td style="background: hsla(60, 100%, 50%, 0.6)">&nbsp;</td>
<td style="background: hsla(60, 100%, 50%, 0.4)">&nbsp;</td>
<td style="background: hsla(60, 100%, 50%, 0.2)">&nbsp;</td>
<td style="background: hsla(60, 100%, 50%, 0)">&nbsp;</td>
<td style="background: white">&nbsp;</td>
</tr>
<tr>
<td style="background: white">&nbsp;</td>
<td style="background: hsla(60, 100%, 50%, 1.0)">&nbsp;</td>
<td style="background: hsla(60, 100%, 40%, 1.0)">&nbsp;</td>
<td style="background: hsla(60, 100%, 30%, 1.0)">&nbsp;</td>
<td style="background: hsla(60, 100%, 20%, 1.0)">&nbsp;</td>
<td style="background: hsla(60, 100%, 10%, 1.0)">&nbsp;</td>
<td style="background: hsla(60, 100%, 0%, 1.0)">&nbsp;</td>
<td style="background: black">&nbsp;</td>
</tr>
<tr>
<td style="background: black">&nbsp;</td>
<td style="background: rgb(100%, 100%, 0%)">&nbsp;</td>
<td style="background: rgb(80%, 80%, 0%)">&nbsp;</td>
<td style="background: rgb(60%, 60%, 0%)">&nbsp;</td>
<td style="background: rgb(40%, 40%, 0%)">&nbsp;</td>
<td style="background: rgb(20%, 20%, 0%)">&nbsp;</td>
<td style="background: rgb(0%, 0%, 0%)">&nbsp;</td>
<td style="background: white">&nbsp;</td>
</tr>
</table>
</div>
<p>The following table should have three matching rows changing (in 5 steps) from yellow 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: white">&nbsp;</td>
<td style="background: hsla(60, 100%, 50%, 1)">&nbsp;</td>
<td style="background: hsla(60, 100%, 50%, 0.8)">&nbsp;</td>
<td style="background: hsla(60, 100%, 50%, 0.6)">&nbsp;</td>
<td style="background: hsla(60, 100%, 50%, 0.4)">&nbsp;</td>
<td style="background: hsla(60, 100%, 50%, 0.2)">&nbsp;</td>
<td style="background: hsla(60, 100%, 50%, 0)">&nbsp;</td>
<td style="background: black">&nbsp;</td>
</tr>
<tr>
<td style="background: black">&nbsp;</td>
<td style="background: hsla(60, 100%, 50%, 1.0)">&nbsp;</td>
<td style="background: hsla(60, 100%, 60%, 1.0)">&nbsp;</td>
<td style="background: hsla(60, 100%, 70%, 1.0)">&nbsp;</td>
<td style="background: hsla(60, 100%, 80%, 1.0)">&nbsp;</td>
<td style="background: hsla(60, 100%, 90%, 1.0)">&nbsp;</td>
<td style="background: hsla(60, 100%, 100%, 1.0)">&nbsp;</td>
<td style="background: white">&nbsp;</td>
</tr>
<tr>
<td style="background: white">&nbsp;</td>
<td style="background: rgb(100%, 100%, 0%)">&nbsp;</td>
<td style="background: rgb(100%, 100%, 20%)">&nbsp;</td>
<td style="background: rgb(100%, 100%, 40%)">&nbsp;</td>
<td style="background: rgb(100%, 100%, 60%)">&nbsp;</td>
<td style="background: rgb(100%, 100%, 80%)">&nbsp;</td>
<td style="background: rgb(100%, 100%, 100%)">&nbsp;</td>
<td style="background: black">&nbsp;</td>
</tr>
</table>
</div>
<p>The following table should have three 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: hsla(120, 100%, 50%, 1)">&nbsp;</td>
<td style="background: hsla(120, 100%, 50%, 0.8)">&nbsp;</td>
<td style="background: hsla(120, 100%, 50%, 0.6)">&nbsp;</td>
<td style="background: hsla(120, 100%, 50%, 0.4)">&nbsp;</td>
<td style="background: hsla(120, 100%, 50%, 0.2)">&nbsp;</td>
<td style="background: hsla(120, 100%, 50%, 0)">&nbsp;</td>
<td style="background: white">&nbsp;</td>
</tr>
<tr>
<td style="background: white">&nbsp;</td>
<td style="background: hsla(120, 100%, 50%, 1.0)">&nbsp;</td>
<td style="background: hsla(120, 100%, 40%, 1.0)">&nbsp;</td>
<td style="background: hsla(120, 100%, 30%, 1.0)">&nbsp;</td>
<td style="background: hsla(120, 100%, 20%, 1.0)">&nbsp;</td>
<td style="background: hsla(120, 100%, 10%, 1.0)">&nbsp;</td>
<td style="background: hsla(120, 100%, 0%, 1.0)">&nbsp;</td>
<td style="background: black">&nbsp;</td>
</tr>
<tr>
<td style="background: black">&nbsp;</td>
<td style="background: rgb(0%, 100%, 0%)">&nbsp;</td>
<td style="background: rgb(0%, 80%, 0%)">&nbsp;</td>
<td style="background: rgb(0%, 60%, 0%)">&nbsp;</td>
<td style="background: rgb(0%, 40%, 0%)">&nbsp;</td>
<td style="background: rgb(0%, 20%, 0%)">&nbsp;</td>
<td style="background: rgb(0%, 0%, 0%)">&nbsp;</td>
<td style="background: white">&nbsp;</td>
</tr>
</table>
</div>
<p>The following table should have three 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: white">&nbsp;</td>
<td style="background: hsla(120, 100%, 50%, 1)">&nbsp;</td>
<td style="background: hsla(120, 100%, 50%, 0.8)">&nbsp;</td>
<td style="background: hsla(120, 100%, 50%, 0.6)">&nbsp;</td>
<td style="background: hsla(120, 100%, 50%, 0.4)">&nbsp;</td>
<td style="background: hsla(120, 100%, 50%, 0.2)">&nbsp;</td>
<td style="background: hsla(120, 100%, 50%, 0)">&nbsp;</td>
<td style="background: black">&nbsp;</td>
</tr>
<tr>
<td style="background: black">&nbsp;</td>
<td style="background: hsla(120, 100%, 50%, 1.0)">&nbsp;</td>
<td style="background: hsla(120, 100%, 60%, 1.0)">&nbsp;</td>
<td style="background: hsla(120, 100%, 70%, 1.0)">&nbsp;</td>
<td style="background: hsla(120, 100%, 80%, 1.0)">&nbsp;</td>
<td style="background: hsla(120, 100%, 90%, 1.0)">&nbsp;</td>
<td style="background: hsla(120, 100%, 100%, 1.0)">&nbsp;</td>
<td style="background: white">&nbsp;</td>
</tr>
<tr>
<td style="background: white">&nbsp;</td>
<td style="background: rgb(0%, 100%, 0%)">&nbsp;</td>
<td style="background: rgb(20%, 100%, 20%)">&nbsp;</td>
<td style="background: rgb(40%, 100%, 40%)">&nbsp;</td>
<td style="background: rgb(60%, 100%, 60%)">&nbsp;</td>
<td style="background: rgb(80%, 100%, 80%)">&nbsp;</td>
<td style="background: rgb(100%, 100%, 100%)">&nbsp;</td>
<td style="background: black">&nbsp;</td>
</tr>
</table>
</div>
<p>The following table should have three matching rows changing (in 5 steps) from aqua 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: hsla(180, 100%, 50%, 1)">&nbsp;</td>
<td style="background: hsla(180, 100%, 50%, 0.8)">&nbsp;</td>
<td style="background: hsla(180, 100%, 50%, 0.6)">&nbsp;</td>
<td style="background: hsla(180, 100%, 50%, 0.4)">&nbsp;</td>
<td style="background: hsla(180, 100%, 50%, 0.2)">&nbsp;</td>
<td style="background: hsla(180, 100%, 50%, 0)">&nbsp;</td>
<td style="background: white">&nbsp;</td>
</tr>
<tr>
<td style="background: white">&nbsp;</td>
<td style="background: hsla(180, 100%, 50%, 1.0)">&nbsp;</td>
<td style="background: hsla(180, 100%, 40%, 1.0)">&nbsp;</td>
<td style="background: hsla(180, 100%, 30%, 1.0)">&nbsp;</td>
<td style="background: hsla(180, 100%, 20%, 1.0)">&nbsp;</td>
<td style="background: hsla(180, 100%, 10%, 1.0)">&nbsp;</td>
<td style="background: hsla(180, 100%, 0%, 1.0)">&nbsp;</td>
<td style="background: black">&nbsp;</td>
</tr>
<tr>
<td style="background: black">&nbsp;</td>
<td style="background: rgb(0%, 100%, 100%)">&nbsp;</td>
<td style="background: rgb(0%, 80%, 80%)">&nbsp;</td>
<td style="background: rgb(0%, 60%, 60%)">&nbsp;</td>
<td style="background: rgb(0%, 40%, 40%)">&nbsp;</td>
<td style="background: rgb(0%, 20%, 20%)">&nbsp;</td>
<td style="background: rgb(0%, 0%, 0%)">&nbsp;</td>
<td style="background: white">&nbsp;</td>
</tr>
</table>
</div>
<p>The following table should have three matching rows changing (in 5 steps) from aqua 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: white">&nbsp;</td>
<td style="background: hsla(180, 100%, 50%, 1)">&nbsp;</td>
<td style="background: hsla(180, 100%, 50%, 0.8)">&nbsp;</td>
<td style="background: hsla(180, 100%, 50%, 0.6)">&nbsp;</td>
<td style="background: hsla(180, 100%, 50%, 0.4)">&nbsp;</td>
<td style="background: hsla(180, 100%, 50%, 0.2)">&nbsp;</td>
<td style="background: hsla(180, 100%, 50%, 0)">&nbsp;</td>
<td style="background: black">&nbsp;</td>
</tr>
<tr>
<td style="background: black">&nbsp;</td>
<td style="background: hsla(180, 100%, 50%, 1.0)">&nbsp;</td>
<td style="background: hsla(180, 100%, 60%, 1.0)">&nbsp;</td>
<td style="background: hsla(180, 100%, 70%, 1.0)">&nbsp;</td>
<td style="background: hsla(180, 100%, 80%, 1.0)">&nbsp;</td>
<td style="background: hsla(180, 100%, 90%, 1.0)">&nbsp;</td>
<td style="background: hsla(180, 100%, 100%, 1.0)">&nbsp;</td>
<td style="background: white">&nbsp;</td>
</tr>
<tr>
<td style="background: white">&nbsp;</td>
<td style="background: rgb(0%, 100%, 100%)">&nbsp;</td>
<td style="background: rgb(20%, 100%, 100%)">&nbsp;</td>
<td style="background: rgb(40%, 100%, 100%)">&nbsp;</td>
<td style="background: rgb(60%, 100%, 100%)">&nbsp;</td>
<td style="background: rgb(80%, 100%, 100%)">&nbsp;</td>
<td style="background: rgb(100%, 100%, 100%)">&nbsp;</td>
<td style="background: black">&nbsp;</td>
</tr>
</table>
</div>
<p>The following table should have three 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: hsla(240, 100%, 50%, 1)">&nbsp;</td>
<td style="background: hsla(240, 100%, 50%, 0.8)">&nbsp;</td>
<td style="background: hsla(240, 100%, 50%, 0.6)">&nbsp;</td>
<td style="background: hsla(240, 100%, 50%, 0.4)">&nbsp;</td>
<td style="background: hsla(240, 100%, 50%, 0.2)">&nbsp;</td>
<td style="background: hsla(240, 100%, 50%, 0)">&nbsp;</td>
<td style="background: white">&nbsp;</td>
</tr>
<tr>
<td style="background: white">&nbsp;</td>
<td style="background: hsla(240, 100%, 50%, 1.0)">&nbsp;</td>
<td style="background: hsla(240, 100%, 40%, 1.0)">&nbsp;</td>
<td style="background: hsla(240, 100%, 30%, 1.0)">&nbsp;</td>
<td style="background: hsla(240, 100%, 20%, 1.0)">&nbsp;</td>
<td style="background: hsla(240, 100%, 10%, 1.0)">&nbsp;</td>
<td style="background: hsla(240, 100%, 0%, 1.0)">&nbsp;</td>
<td style="background: black">&nbsp;</td>
</tr>
<tr>
<td style="background: black">&nbsp;</td>
<td style="background: rgb(0%, 0%, 100%)">&nbsp;</td>
<td style="background: rgb(0%, 0%, 80%)">&nbsp;</td>
<td style="background: rgb(0%, 0%, 60%)">&nbsp;</td>
<td style="background: rgb(0%, 0%, 40%)">&nbsp;</td>
<td style="background: rgb(0%, 0%, 20%)">&nbsp;</td>
<td style="background: rgb(0%, 0%, 0%)">&nbsp;</td>
<td style="background: white">&nbsp;</td>
</tr>
</table>
</div>
<p>The following table should have three 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: white">&nbsp;</td>
<td style="background: hsla(240, 100%, 50%, 1)">&nbsp;</td>
<td style="background: hsla(240, 100%, 50%, 0.8)">&nbsp;</td>
<td style="background: hsla(240, 100%, 50%, 0.6)">&nbsp;</td>
<td style="background: hsla(240, 100%, 50%, 0.4)">&nbsp;</td>
<td style="background: hsla(240, 100%, 50%, 0.2)">&nbsp;</td>
<td style="background: hsla(240, 100%, 50%, 0)">&nbsp;</td>
<td style="background: black">&nbsp;</td>
</tr>
<tr>
<td style="background: black">&nbsp;</td>
<td style="background: hsla(240, 100%, 50%, 1.0)">&nbsp;</td>
<td style="background: hsla(240, 100%, 60%, 1.0)">&nbsp;</td>
<td style="background: hsla(240, 100%, 70%, 1.0)">&nbsp;</td>
<td style="background: hsla(240, 100%, 80%, 1.0)">&nbsp;</td>
<td style="background: hsla(240, 100%, 90%, 1.0)">&nbsp;</td>
<td style="background: hsla(240, 100%, 100%, 1.0)">&nbsp;</td>
<td style="background: white">&nbsp;</td>
</tr>
<tr>
<td style="background: white">&nbsp;</td>
<td style="background: rgb(0%, 0%, 100%)">&nbsp;</td>
<td style="background: rgb(20%, 20%, 100%)">&nbsp;</td>
<td style="background: rgb(40%, 40%, 100%)">&nbsp;</td>
<td style="background: rgb(60%, 60%, 100%)">&nbsp;</td>
<td style="background: rgb(80%, 80%, 100%)">&nbsp;</td>
<td style="background: rgb(100%, 100%, 100%)">&nbsp;</td>
<td style="background: black">&nbsp;</td>
</tr>
</table>
</div>
<p>The following table should have three matching rows changing (in 5 steps) from fuchsia 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: hsla(300, 100%, 50%, 1)">&nbsp;</td>
<td style="background: hsla(300, 100%, 50%, 0.8)">&nbsp;</td>
<td style="background: hsla(300, 100%, 50%, 0.6)">&nbsp;</td>
<td style="background: hsla(300, 100%, 50%, 0.4)">&nbsp;</td>
<td style="background: hsla(300, 100%, 50%, 0.2)">&nbsp;</td>
<td style="background: hsla(300, 100%, 50%, 0)">&nbsp;</td>
<td style="background: white">&nbsp;</td>
</tr>
<tr>
<td style="background: white">&nbsp;</td>
<td style="background: hsla(300, 100%, 50%, 1.0)">&nbsp;</td>
<td style="background: hsla(300, 100%, 40%, 1.0)">&nbsp;</td>
<td style="background: hsla(300, 100%, 30%, 1.0)">&nbsp;</td>
<td style="background: hsla(300, 100%, 20%, 1.0)">&nbsp;</td>
<td style="background: hsla(300, 100%, 10%, 1.0)">&nbsp;</td>
<td style="background: hsla(300, 100%, 0%, 1.0)">&nbsp;</td>
<td style="background: black">&nbsp;</td>
</tr>
<tr>
<td style="background: black">&nbsp;</td>
<td style="background: rgb(100%, 0%, 100%)">&nbsp;</td>
<td style="background: rgb(80%, 0%, 80%)">&nbsp;</td>
<td style="background: rgb(60%, 0%, 60%)">&nbsp;</td>
<td style="background: rgb(40%, 0%, 40%)">&nbsp;</td>
<td style="background: rgb(20%, 0%, 20%)">&nbsp;</td>
<td style="background: rgb(0%, 0%, 0%)">&nbsp;</td>
<td style="background: white">&nbsp;</td>
</tr>
</table>
</div>
<p>The following table should have three matching rows changing (in 5 steps) from fuchsia 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: white">&nbsp;</td>
<td style="background: hsla(300, 100%, 50%, 1)">&nbsp;</td>
<td style="background: hsla(300, 100%, 50%, 0.8)">&nbsp;</td>
<td style="background: hsla(300, 100%, 50%, 0.6)">&nbsp;</td>
<td style="background: hsla(300, 100%, 50%, 0.4)">&nbsp;</td>
<td style="background: hsla(300, 100%, 50%, 0.2)">&nbsp;</td>
<td style="background: hsla(300, 100%, 50%, 0)">&nbsp;</td>
<td style="background: black">&nbsp;</td>
</tr>
<tr>
<td style="background: black">&nbsp;</td>
<td style="background: hsla(300, 100%, 50%, 1.0)">&nbsp;</td>
<td style="background: hsla(300, 100%, 60%, 1.0)">&nbsp;</td>
<td style="background: hsla(300, 100%, 70%, 1.0)">&nbsp;</td>
<td style="background: hsla(300, 100%, 80%, 1.0)">&nbsp;</td>
<td style="background: hsla(300, 100%, 90%, 1.0)">&nbsp;</td>
<td style="background: hsla(300, 100%, 100%, 1.0)">&nbsp;</td>
<td style="background: white">&nbsp;</td>
</tr>
<tr>
<td style="background: white">&nbsp;</td>
<td style="background: rgb(100%, 0%, 100%)">&nbsp;</td>
<td style="background: rgb(100%, 20%, 100%)">&nbsp;</td>
<td style="background: rgb(100%, 40%, 100%)">&nbsp;</td>
<td style="background: rgb(100%, 60%, 100%)">&nbsp;</td>
<td style="background: rgb(100%, 80%, 100%)">&nbsp;</td>
<td style="background: rgb(100%, 100%, 100%)">&nbsp;</td>
<td style="background: black">&nbsp;</td>
</tr>
</table>
</div>
<p>The following table should have two 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: hsla(0, 100%, 50%, 1)">&nbsp;</td>
<td style="background: hsla(0, 100%, 50%, 0.8)">&nbsp;</td>
<td style="background: hsla(0, 100%, 50%, 0.6)">&nbsp;</td>
<td style="background: hsla(0, 100%, 50%, 0.4)">&nbsp;</td>
<td style="background: hsla(0, 100%, 50%, 0.2)">&nbsp;</td>
<td style="background: hsla(0, 100%, 50%, 0)">&nbsp;</td>
<td style="background: white">&nbsp;</td>
</tr>
<tr>
<td style="background: white">&nbsp;</td>
<td style="background: rgb(100%, 0%, 0%)">&nbsp;</td>
<td style="background: rgb(80%, 20%, 0%)">&nbsp;</td>
<td style="background: rgb(60%, 40%, 0%)">&nbsp;</td>
<td style="background: rgb(40%, 60%, 0%)">&nbsp;</td>
<td style="background: rgb(20%, 80%, 0%)">&nbsp;</td>
<td style="background: rgb(0%, 100%, 0%)">&nbsp;</td>
<td style="background: black">&nbsp;</td>
</tr>
</table>
</div>
<p>The following table should have two 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: hsla(120, 100%, 50%, 1)">&nbsp;</td>
<td style="background: hsla(120, 100%, 50%, 0.8)">&nbsp;</td>
<td style="background: hsla(120, 100%, 50%, 0.6)">&nbsp;</td>
<td style="background: hsla(120, 100%, 50%, 0.4)">&nbsp;</td>
<td style="background: hsla(120, 100%, 50%, 0.2)">&nbsp;</td>
<td style="background: hsla(120, 100%, 50%, 0)">&nbsp;</td>
<td style="background: white">&nbsp;</td>
</tr>
<tr>
<td style="background: white">&nbsp;</td>
<td style="background: rgb(0%, 100%, 0%)">&nbsp;</td>
<td style="background: rgb(0%, 80%, 20%)">&nbsp;</td>
<td style="background: rgb(0%, 60%, 40%)">&nbsp;</td>
<td style="background: rgb(0%, 40%, 60%)">&nbsp;</td>
<td style="background: rgb(0%, 20%, 80%)">&nbsp;</td>
<td style="background: rgb(0%, 0%, 100%)">&nbsp;</td>
<td style="background: black">&nbsp;</td>
</tr>
</table>
</div>
<p>The following table should have two 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: hsla(240, 100%, 50%, 1)">&nbsp;</td>
<td style="background: hsla(240, 100%, 50%, 0.8)">&nbsp;</td>
<td style="background: hsla(240, 100%, 50%, 0.6)">&nbsp;</td>
<td style="background: hsla(240, 100%, 50%, 0.4)">&nbsp;</td>
<td style="background: hsla(240, 100%, 50%, 0.2)">&nbsp;</td>
<td style="background: hsla(240, 100%, 50%, 0)">&nbsp;</td>
<td style="background: white">&nbsp;</td>
</tr>
<tr>
<td style="background: white">&nbsp;</td>
<td style="background: rgb(0%, 0%, 100%)">&nbsp;</td>
<td style="background: rgb(20%, 0%, 80%)">&nbsp;</td>
<td style="background: rgb(40%, 0%, 60%)">&nbsp;</td>
<td style="background: rgb(60%, 0%, 40%)">&nbsp;</td>
<td style="background: rgb(80%, 0%, 20%)">&nbsp;</td>
<td style="background: rgb(100%, 0%, 0%)">&nbsp;</td>
<td style="background: black">&nbsp;</td>
</tr>
</table>
</div>
</body>
</html>