<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<title>CSS Color 4: HSL functions hsl() and hsla()</title> | |
<link rel="author" title="Chris Nardi" href="mailto:csnardi1@gmail.com"> | |
<link rel="help" href="https://drafts.csswg.org/css-color-4/#the-hsl-notation"> | |
<link rel="match" href="greentext-ref.html"> | |
<meta name="assert" content="legacy hsla() with number and percent alpha, and commas"> | |
<style> | |
.test {color: hsla(120, 100%, 25%, 100%)} | |
</style> | |
<body> | |
<p class="test">Test passes if this text is green</p> | |
</body> |