/* https://grabient.com/_gJ-gIUgGUgFGgC1gEjgfkgNFgiHgGpgIugMv?style=angularSwatches&steps=12&angle=135 */
background: conic-gradient(from 135deg, #595d84 0.000deg, #595d84 30.000deg, #6269b1 calc(30.000deg + 0.1deg), #6269b1 60.000deg, #b97c79 calc(60.000deg + 0.1deg), #b97c79 90.000deg, #f59228 calc(90.000deg + 0.1deg), #f59228 120.000deg, #cfa62d calc(120.000deg + 0.1deg), #cfa62d 150.000deg, #75b281 calc(150.000deg + 0.1deg), #75b281 180.000deg, #51b6b1 calc(180.000deg + 0.1deg), #51b6b1 210.000deg, #8eaf7c calc(210.000deg + 0.1deg), #8eaf7c 240.000deg, #e49f2a calc(240.000deg + 0.1deg), #e49f2a 270.000deg, #ec8a2b calc(270.000deg + 0.1deg), #ec8a2b 300.000deg, #9d747e calc(300.000deg + 0.1deg), #9d747e 330.000deg, #5463b1 calc(330.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/_gJ-gIUgGUgFGgC1gEjgfkgNFgiHgGpgIugMv?style=angularSwatches&steps=12&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 515.748,631.976
Z
" fill="#595d84" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 515.748,631.976
A 447.214,447.214 0 0 1 284.252,631.976
Z
" fill="#6269b1" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 284.252,631.976
A 447.214,447.214 0 0 1 83.772,516.228
Z
" fill="#b97c79" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 83.772,516.228
A 447.214,447.214 0 0 1 -31.976,315.748
Z
" fill="#f59228" fill-opacity="1.000" /><path d="
M 400.000,200.000
L -31.976,315.748
A 447.214,447.214 0 0 1 -31.976,84.252
Z
" fill="#cfa62d" fill-opacity="1.000" /><path d="
M 400.000,200.000
L -31.976,84.252
A 447.214,447.214 0 0 1 83.772,-116.228
Z
" fill="#75b281" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 83.772,-116.228
A 447.214,447.214 0 0 1 284.252,-231.976
Z
" fill="#51b6b1" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 284.252,-231.976
A 447.214,447.214 0 0 1 515.748,-231.976
Z
" fill="#8eaf7c" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 515.748,-231.976
A 447.214,447.214 0 0 1 716.228,-116.228
Z
" fill="#e49f2a" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 716.228,-116.228
A 447.214,447.214 0 0 1 831.976,84.252
Z
" fill="#ec8a2b" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 831.976,84.252
A 447.214,447.214 0 0 1 831.976,315.748
Z
" fill="#9d747e" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 831.976,315.748
A 447.214,447.214 0 0 1 716.228,516.228
Z
" fill="#5463b1" fill-opacity="1.000" /></g>
</svg>
["#595d84", "#6269b1", "#b97c79", "#f59228", "#cfa62d", "#75b281", "#51b6b1", "#8eaf7c", "#e49f2a", "#ec8a2b", "#9d747e", "#5463b1"]
// https://grabient.com/_gJ-gIUgGUgFGgC1gEjgfkgNFgiHgGpgIugMv?style=angularSwatches&steps=12&angle=135
// cosine gradient palette — https://iquilezles.org/articles/palettes/
const float STEPS = 12.0;
const float ANGLE = 135.0;
vec3 palette(float t) {
vec3 a = vec3(0.638, 0.532, 0.404);
vec3 b = vec3(0.326, 0.181, 0.291);
vec3 c = vec3(2.020, 0.837, 2.183);
vec3 d = vec3(0.425, 0.558, 0.815);
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.638, 0.532, 0.404],
[0.326, 0.181, 0.291],
[2.020, 0.837, 2.183],
[0.425, 0.558, 0.815]
]