<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS-Color-4: hsla() syntax accepts comma-less expressions (and comments as separators), percentage alpha and omitting of alpha component - ref</title>
<link rel="author" title="Jerry Shih" href="mailto:[email protected]" />
<link rel="author" title="Mozilla" href="http://www.mozilla.org/" />
<style type="text/css">
#p1 { background-color: hsla(120, 75%, 50%, 0.2); }
#p2 { background-color: hsla(120, 75%, 50%, 0.4); }
#p3 { background-color: hsla(120, 75%, 50%, 0.6); }
#p4 { background-color: hsl(120, 75%, 50%); }
#p5 { background-color: hsl(120, 75%, 50%); }
#p6 { background-color: hsl(120, 75%, 50%); }
#p7 { background-color: hsl(120, 75%, 50%); }
#p8 { background-color: hsl(120, 75%, 50%); }
#p9 { background-color: hsl(120, 75%, 50%); }
#p10 { background-color: hsl(120, 75%, 50%); }
</style>
</head>
<body>
<p id="p1">color</p>
<p id="p2">color</p>
<p id="p3">color</p>
<p id="p4">color</p>
<p id="p5">color</p>
<p id="p6">color</p>
<p id="p7">color</p>
<p id="p8">color</p>
<p id="p9">color</p>
<p id="p10">color</p>
</body>
</html>