/* https://grabient.com/_gF0gIDgMIgE-gEof4Of5kf7zgCwgTYf1afu_?style=angularSwatches&steps=5&angle=0 */
background: conic-gradient(from 0deg, #64625a 0.000deg, #64625a 72.000deg, #94814c calc(72.000deg + 0.1deg), #94814c 144.000deg, #aea047 calc(144.000deg + 0.1deg), #aea047 216.000deg, #a8ba4b calc(216.000deg + 0.1deg), #a8ba4b 288.000deg, #85cb59 calc(288.000deg + 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/_gF0gIDgMIgE-gEof4Of5kf7zgCwgTYf1afu_?style=angularSwatches&steps=5&angle=0 -->
<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 400.000,-247.214
A 447.214,447.214 0 0 1 825.326,61.803
Z
" fill="#64625a" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 825.326,61.803
A 447.214,447.214 0 0 1 662.866,561.804
Z
" fill="#94814c" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 662.866,561.804
A 447.214,447.214 0 0 1 137.134,561.804
Z
" fill="#aea047" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 137.134,561.804
A 447.214,447.214 0 0 1 -25.326,61.803
Z
" fill="#a8ba4b" fill-opacity="1.000" /><path d="
M 400.000,200.000
L -25.326,61.803
A 447.214,447.214 0 0 1 400.000,-247.214
Z
" fill="#85cb59" fill-opacity="1.000" /></g>
</svg>
["#64625a", "#94814c", "#aea047", "#a8ba4b", "#85cb59"]
// https://grabient.com/_gF0gIDgMIgE-gEof4Of5kf7zgCwgTYf1afu_?style=angularSwatches&steps=5&angle=0
// cosine gradient palette — https://iquilezles.org/articles/palettes/
const float STEPS = 5.0;
const float ANGLE = 0.0;
vec3 palette(float t) {
vec3 a = vec3(0.372, 0.515, 0.776);
vec3 b = vec3(0.318, 0.296, -0.498);
vec3 c = vec3(-0.412, -0.269, 0.176);
vec3 d = vec3(1.240, -0.678, -1.089);
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.372, 0.515, 0.776],
[0.318, 0.296, -0.498],
[-0.412, -0.269, 0.176],
[1.240, -0.678, -1.089]
]