Source code
Revision control
Copy as Markdown
Other Tools
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Gradient in OKLCH space</title>
<style>
body {
background: #fff;
}
div {
width: 300px;
height: 300px;
background-image: linear-gradient(in oklch shorter hue 0deg, oklch(0.62796 0.25768 29.23388) 0%, oklch(0.62796 0.25768 149.23388) 33.3333%, oklch(0.62796 0.25768 269.23388) 66.6667%, oklch(0.62796 0.25768 29.23388) 100%);
}
</style>
</head>
<body>
<div></div>
</body>
</html>