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: hsl()</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/#hsl-color">
8 <link rel="match" href="reference/t424-hsl-parsing-f-ref.htm">
9 <meta name="flags" content="invalid">
10 <meta name="assert" content="Test rules for parsing of hsl() colors.">
11 <style type="text/css">
12 html, body { background: white; }
13 p { color: hsl(120, 100%, 25%); }
14 p { color: hsl(0, 255, 128); }
15 p { color: hsl(0%, 100%, 50%); }
16 p { color: hsl(0, 100%, 50%, 1); }
17 p { color: hsl(0deg, 100%, 50%); }
18 p { color: hsl(0px, 100%, 50%); }
19 </style>
20 </head>
21 <body>
22 <p>This text should be dark green.</p>
23
24 <div>Note: the rules tested by this test may be changed in
25 future levels of the CSS Color Module.</div>
26 </body>
27 </html>