/* https://grabient.com/_gJbgJngBvgDRgF-gDtgKlgJcgEqgOTfyYg5G?style=angularSwatches&steps=10&angle=75 */
background: conic-gradient(from 75deg, #c8e000 0.000deg, #c8e000 36.000deg, #cfbe05 calc(36.000deg + 0.1deg), #cfbe05 72.000deg, #cb9511 calc(72.000deg + 0.1deg), #cb9511 108.000deg, #bc6e1e calc(108.000deg + 0.1deg), #bc6e1e 144.000deg, #a54f2a calc(144.000deg + 0.1deg), #a54f2a 180.000deg, #8c3e36 calc(180.000deg + 0.1deg), #8c3e36 216.000deg, #763d41 calc(216.000deg + 0.1deg), #763d41 252.000deg, #684d4a calc(252.000deg + 0.1deg), #684d4a 288.000deg, #656b51 calc(288.000deg + 0.1deg), #656b51 324.000deg, #6d9256 calc(324.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/_gJbgJngBvgDRgF-gDtgKlgJcgEqgOTfyYg5G?style=angularSwatches&steps=10&angle=75 -->
<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 831.976,84.252
A 447.214,447.214 0 0 1 817.510,360.267
Z
" fill="#c8e000" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 817.510,360.267
A 447.214,447.214 0 0 1 643.570,575.065
Z
" fill="#cfbe05" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 643.570,575.065
A 447.214,447.214 0 0 1 376.595,646.601
Z
" fill="#cb9511" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 376.595,646.601
A 447.214,447.214 0 0 1 118.559,547.551
Z
" fill="#bc6e1e" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 118.559,547.551
A 447.214,447.214 0 0 1 -31.976,315.748
Z
" fill="#a54f2a" fill-opacity="1.000" /><path d="
M 400.000,200.000
L -31.976,315.748
A 447.214,447.214 0 0 1 -17.510,39.733
Z
" fill="#8c3e36" fill-opacity="1.000" /><path d="
M 400.000,200.000
L -17.510,39.733
A 447.214,447.214 0 0 1 156.430,-175.065
Z
" fill="#763d41" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 156.430,-175.065
A 447.214,447.214 0 0 1 423.405,-246.601
Z
" fill="#684d4a" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 423.405,-246.601
A 447.214,447.214 0 0 1 681.441,-147.551
Z
" fill="#656b51" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 681.441,-147.551
A 447.214,447.214 0 0 1 831.976,84.252
Z
" fill="#6d9256" fill-opacity="1.000" /></g>
</svg>
["#c8e000", "#cfbe05", "#cb9511", "#bc6e1e", "#a54f2a", "#8c3e36", "#763d41", "#684d4a", "#656b51", "#6d9256"]
// https://grabient.com/_gJbgJngBvgDRgF-gDtgKlgJcgEqgOTfyYg5G?style=angularSwatches&steps=10&angle=75
// cosine gradient palette — https://iquilezles.org/articles/palettes/
const float STEPS = 10.0;
const float ANGLE = 75.0;
vec3 palette(float t) {
vec3 a = vec3(0.603, 0.615, 0.111);
vec3 b = vec3(0.209, 0.382, 0.237);
vec3 c = vec3(0.677, 0.604, 0.298);
vec3 d = vec3(0.915, -0.872, 3.654);
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.603, 0.615, 0.111],
[0.209, 0.382, 0.237],
[0.677, 0.604, 0.298],
[0.915, -0.872, 3.654]
]