/* https://grabient.com/_gFLgBGgHaf9AgFDf8yf5XgEWf11fyzfsYgQx?style=angularSwatches&steps=13&angle=210 */
background: conic-gradient(from 210deg, #390f4a 0.000deg, #390f4a 27.692deg, #311b45 calc(27.692deg + 0.1deg), #311b45 55.385deg, #2a2746 calc(55.385deg + 0.1deg), #2a2746 83.077deg, #26324c calc(83.077deg + 0.1deg), #26324c 110.769deg, #243d58 calc(110.769deg + 0.1deg), #243d58 138.462deg, #244668 calc(138.462deg + 0.1deg), #244668 166.154deg, #274f7a calc(166.154deg + 0.1deg), #274f7a 193.846deg, #2c568b calc(193.846deg + 0.1deg), #2c568b 221.538deg, #335c9b calc(221.538deg + 0.1deg), #335c9b 249.231deg, #3b61a6 calc(249.231deg + 0.1deg), #3b61a6 276.923deg, #4563ac calc(276.923deg + 0.1deg), #4563ac 304.615deg, #5064ad calc(304.615deg + 0.1deg), #5064ad 332.308deg, #5b63a7 calc(332.308deg + 0.1deg) 360.000deg);
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="400" viewBox="0 0 800 400" preserveAspectRatio="none">
<!-- https://grabient.com/_gFLgBGgHaf9AgFDf8yf5XgEWf11fyzfsYgQx?style=angularSwatches&steps=13&angle=210 -->
<defs>
<clipPath id="squareClip">
<rect x="0" y="0" width="800" height="400" />
</clipPath>
<filter id="antiGap">
<feGaussianBlur in="SourceGraphic" stdDeviation="0.3" />
</filter>
</defs>
<g clip-path="url(#squareClip)" filter="url(#antiGap)" shape-rendering="crispEdges">
<path d="
M 400.000,200.000
L 176.393,587.299
A 447.214,447.214 0 0 1 22.020,439.023
Z
" fill="#390f4a" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 22.020,439.023
A 447.214,447.214 0 0 1 -45.764,235.983
Z
" fill="#311b45" fill-opacity="1.000" /><path d="
M 400.000,200.000
L -45.764,235.983
A 447.214,447.214 0 0 1 -11.427,24.706
Z
" fill="#2a2746" fill-opacity="1.000" /><path d="
M 400.000,200.000
L -11.427,24.706
A 447.214,447.214 0 0 1 117.160,-146.413
Z
" fill="#26324c" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 117.160,-146.413
A 447.214,447.214 0 0 1 310.549,-238.177
Z
" fill="#243d58" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 310.549,-238.177
A 447.214,447.214 0 0 1 524.424,-229.557
Z
" fill="#244668" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 524.424,-229.557
A 447.214,447.214 0 0 1 709.795,-122.533
Z
" fill="#274f7a" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 709.795,-122.533
A 447.214,447.214 0 0 1 824.198,58.378
Z
" fill="#2c568b" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 824.198,58.378
A 447.214,447.214 0 0 1 841.422,271.740
Z
" fill="#335c9b" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 841.422,271.740
A 447.214,447.214 0 0 1 757.522,468.660
Z
" fill="#3b61a6" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 757.522,468.660
A 447.214,447.214 0 0 1 591.720,604.034
Z
" fill="#4563ac" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 591.720,604.034
A 447.214,447.214 0 0 1 381.990,646.851
Z
" fill="#5064ad" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 381.990,646.851
A 447.214,447.214 0 0 1 176.393,587.299
Z
" fill="#5b63a7" fill-opacity="1.000" /></g>
</svg>
["#390f4a", "#311b45", "#2a2746", "#26324c", "#243d58", "#244668", "#274f7a", "#2c568b", "#335c9b", "#3b61a6", "#4563ac", "#5064ad", "#5b63a7"]
// https://grabient.com/_gFLgBGgHaf9AgFDf8yf5XgEWf11fyzfsYgQx?style=angularSwatches&steps=13&angle=210
// cosine gradient palette — https://iquilezles.org/articles/palettes/
const float STEPS = 13.0;
const float ANGLE = 210.0;
vec3 palette(float t) {
vec3 a = vec3(0.331, 0.070, 0.474);
vec3 b = vec3(-0.192, 0.323, -0.206);
vec3 c = vec3(-0.425, 0.278, -0.651);
vec3 d = vec3(-0.845, -1.256, 1.073);
return a + b * cos(6.283185 * (c * t + d));
}
// N hard swatches sampled from the palette
vec3 stops(float t) {
float i = min(floor(clamp(t, 0.0, 1.0) * STEPS), STEPS - 1.0);
return palette(i / (STEPS - 1.0));
}
void mainImage(out vec4 fragColor, in vec2 fragCoord) {
vec2 p = fragCoord - 0.5 * iResolution.xy;
// conic from ANGLE, clockwise from top (CSS convention)
float t = fract((atan(p.x, p.y) - radians(ANGLE)) / 6.283185);
fragColor = vec4(stops(t), 1.0);
}
[
[0.331, 0.070, 0.474],
[-0.192, 0.323, -0.206],
[-0.425, 0.278, -0.651],
[-0.845, -1.256, 1.073]
]