1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: hsla()</title>
5 <link rel="author" title="L. David Baron" href="https://dbaron.org/">
6 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/">
7 <link rel="help" href="http://www.w3.org/TR/css3-color/#hsla-color">
8 <meta name="flags" content="">
9 <meta name="assert" content="Test basic functioning of hsla() colors.">
10 <style type="text/css">
11 html, body { background: white; }
12 p { font-weight: bold; margin: 0; }
13 #one { color: hsla(120, 100%, 70%, 1.0); }
14 #two { color: hsla(120, 100%, 50%, 0.6); }
15 </style>
16 </head>
17 <body>
18 <p id="one">This text should be light green (the same color as the line below).</p>
19 <p id="two">This text should be light green (the same color as the line above).</p>
20 </body>
21 </html>