/* https://grabient.com/_gIDgF0gMIgEogE-f4Of6lf3tgDjf0cgSafuB?style=angularSwatches&steps=13&angle=210 */
background: conic-gradient(from 210deg, #7f827c 0.000deg, #7f827c 27.692deg, #8c9570 calc(27.692deg + 0.1deg), #8c9570 55.385deg, #9aa366 calc(55.385deg + 0.1deg), #9aa366 83.077deg, #a6ad5d calc(83.077deg + 0.1deg), #a6ad5d 110.769deg, #b2b055 calc(110.769deg + 0.1deg), #b2b055 138.462deg, #bcad4f calc(138.462deg + 0.1deg), #bcad4f 166.154deg, #c4a44a calc(166.154deg + 0.1deg), #c4a44a 193.846deg, #ca9648 calc(193.846deg + 0.1deg), #ca9648 221.538deg, #ce8347 calc(221.538deg + 0.1deg), #ce8347 249.231deg, #cf6e48 calc(249.231deg + 0.1deg), #cf6e48 276.923deg, #ce574b calc(276.923deg + 0.1deg), #ce574b 304.615deg, #ca424f calc(304.615deg + 0.1deg), #ca424f 332.308deg, #c42e55 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/_gIDgF0gMIgEogE-f4Of6lf3tgDjf0cgSafuB?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="#7f827c" 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="#8c9570" 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="#9aa366" 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="#a6ad5d" 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="#b2b055" 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="#bcad4f" 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="#c4a44a" 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="#ca9648" 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="#ce8347" 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="#cf6e48" 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="#ce574b" 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="#ca424f" 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="#c42e55" fill-opacity="1.000" /></g>
</svg>
["#7f827c", "#8c9570", "#9aa366", "#a6ad5d", "#b2b055", "#bcad4f", "#c4a44a", "#ca9648", "#ce8347", "#cf6e48", "#ce574b", "#ca424f", "#c42e55"]
// https://grabient.com/_gIDgF0gMIgEogE-f4Of6lf3tgDjf0cgSafuB?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.515, 0.372, 0.776);
vec3 b = vec3(0.296, 0.318, -0.498);
vec3 c = vec3(-0.347, -0.531, 0.227);
vec3 d = vec3(-0.740, 1.178, -1.151);
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.515, 0.372, 0.776],
[0.296, 0.318, -0.498],
[-0.347, -0.531, 0.227],
[-0.740, 1.178, -1.151]
]