<!DOCTYPE html>
<style>
div {
width: 200px;
height: 200px;
border: 1px solid grey;
border-radius: 50%;
display: inline-block;
margin: 20px;
}
/* basic */
.conic1 {
background: #0ac repeating-conic-gradient(hsla(0,0%,100%,.2) 0, hsla(0,0%,100%,.2) 15deg, hsla(0,0%,100%,0) 15deg, hsla(0,0%,100%,0) 30deg);
}
/* kitchen sink */
.conic2 {
background:
radial-gradient(#000 3%, rgba(0,0,0,0.3) 10%, rgba(0,0,0,0) 30%),
conic-gradient(red, orange, lime, aqua, blue, magenta, red),
radial-gradient(closest-side, #444 0%, #444 1%, #bbb 0%, #bbb 2%, #444 0%, #444 4%, #bbb 0%, #bbb 8%, #444 0%, #444 16%, #bbb 0%, #bbb 32%, #444 0%, #444 64%, #bbb 0%, #bbb 100%),
repeating-conic-gradient(#bbb 0, #bbb 6.25%, #444 0, #444 12.5%);
background-blend-mode: normal, multiply, exclusion, normal;
}
/* out-of-range stops */
.conic3 {
background: repeating-conic-gradient(red -100%, #0f0 -30%, blue 130%, red 200%);
}
/* same-phase, different ranges */
.conic4 {
background: repeating-conic-gradient(red 20deg, green 60deg, blue 100deg, red 140deg);
}
.conic5 {
background: repeating-conic-gradient(red -220deg, green -180deg, blue -140deg, red -100deg);
}
.conic6 {
background: repeating-conic-gradient(red 380deg, green 420deg, blue 460deg, red 500deg);
}
</style>
<div class="conic1"></div>
<div class="conic2"></div>
<div class="conic3"></div>
<br>
<div class="conic4"></div>
<div class="conic5"></div>
<div class="conic6"></div>