/* https://grabient.com/_gEzgFIgIugCGgEFgFkgHugFngFLg3ug2tg2Kfzw87mii?style=angularSwatches&steps=13&angle=135 */
background: conic-gradient(from 135deg, #462b47 0.000deg, #462b47 27.692deg, #57415f calc(27.692deg + 0.1deg), #57415f 55.385deg, #65597c calc(55.385deg + 0.1deg), #65597c 83.077deg, #6e709a calc(83.077deg + 0.1deg), #6e709a 110.769deg, #7083b6 calc(110.769deg + 0.1deg), #7083b6 138.462deg, #6a91cf calc(138.462deg + 0.1deg), #6a91cf 166.154deg, #5e98e1 calc(166.154deg + 0.1deg), #5e98e1 193.846deg, #4e97ec calc(193.846deg + 0.1deg), #4e97ec 221.538deg, #3d8eed calc(221.538deg + 0.1deg), #3d8eed 249.231deg, #307fe5 calc(249.231deg + 0.1deg), #307fe5 276.923deg, #276ad5 calc(276.923deg + 0.1deg), #276ad5 304.615deg, #2653be calc(304.615deg + 0.1deg), #2653be 332.308deg, #2d3ba2 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/_gEzgFIgIugCGgEFgFkgHugFngFLg3ug2tg2Kfzw87mii?style=angularSwatches&steps=13&angle=135 -->
<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 716.228,516.228
A 447.214,447.214 0 0 1 533.050,626.964
Z
" fill="#462b47" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 533.050,626.964
A 447.214,447.214 0 0 1 319.384,639.888
Z
" fill="#57415f" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 319.384,639.888
A 447.214,447.214 0 0 1 124.194,552.039
Z
" fill="#65597c" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 124.194,552.039
A 447.214,447.214 0 0 1 -7.814,383.544
Z
" fill="#6e709a" fill-opacity="1.000" /><path d="
M 400.000,200.000
L -7.814,383.544
A 447.214,447.214 0 0 1 -46.398,172.994
Z
" fill="#7083b6" fill-opacity="1.000" /><path d="
M 400.000,200.000
L -46.398,172.994
A 447.214,447.214 0 0 1 17.283,-31.362
Z
" fill="#6a91cf" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 17.283,-31.362
A 447.214,447.214 0 0 1 168.638,-182.717
Z
" fill="#5e98e1" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 168.638,-182.717
A 447.214,447.214 0 0 1 372.994,-246.398
Z
" fill="#4e97ec" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 372.994,-246.398
A 447.214,447.214 0 0 1 583.544,-207.814
Z
" fill="#3d8eed" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 583.544,-207.814
A 447.214,447.214 0 0 1 752.039,-75.806
Z
" fill="#307fe5" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 752.039,-75.806
A 447.214,447.214 0 0 1 839.888,119.384
Z
" fill="#276ad5" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 839.888,119.384
A 447.214,447.214 0 0 1 826.964,333.050
Z
" fill="#2653be" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 826.964,333.050
A 447.214,447.214 0 0 1 716.228,516.228
Z
" fill="#2d3ba2" fill-opacity="1.000" /></g>
</svg>
["#462b47", "#57415f", "#65597c", "#6e709a", "#7083b6", "#6a91cf", "#5e98e1", "#4e97ec", "#3d8eed", "#307fe5", "#276ad5", "#2653be", "#2d3ba2"]
// https://grabient.com/_gEzgFIgIugCGgEFgFkgHugFngFLg3ug2tg2Kfzw87mii?style=angularSwatches&steps=13&angle=135
// cosine gradient palette — https://iquilezles.org/articles/palettes/
const float STEPS = 13.0;
const float ANGLE = 135.0;
vec3 palette(float t) {
vec3 a = vec3(0.294, 0.315, 0.545);
vec3 b = vec3(0.145, 0.283, 0.386);
vec3 c = vec3(0.872, 0.634, 0.585);
vec3 d = vec3(3.728, 3.663, 3.628);
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.294, 0.315, 0.545],
[0.145, 0.283, 0.386],
[0.872, 0.634, 0.585],
[3.728, 3.663, 3.628]
]