Source code
Revision control
Copy as Markdown
Other Tools
<!doctype html>
<title>Single stop gradient in OkLCH space with decreasing hue interpolation method</title>
<meta name="assert" content="Tests that a single-stop decreasing-hue gradient just renders a solid color">
<link rel="match" href="gradient-single-stop-decreasing-hue-oklch-ref.html">
<style>
#target {
width: 100px;
height: 100px;
background-image: linear-gradient(to right in oklch decreasing hue, yellow 50%);
}
</style>
<div id="target"></div>