/* https://grabient.com/_gKfgLCgDogE4gIYgFMgIugHogI6hQJgGBgp_?style=angularSwatches&steps=10&angle=210 */
background: conic-gradient(from 210deg, #e24e1b 0.000deg, #e24e1b 36.000deg, #c8353b calc(36.000deg + 0.1deg), #c8353b 72.000deg, #aa2b5c calc(72.000deg + 0.1deg), #aa2b5c 108.000deg, #8c3178 calc(108.000deg + 0.1deg), #8c3178 144.000deg, #72468a calc(144.000deg + 0.1deg), #72468a 180.000deg, #616890 calc(180.000deg + 0.1deg), #616890 216.000deg, #5c9288 calc(216.000deg + 0.1deg), #5c9288 252.000deg, #62c175 calc(252.000deg + 0.1deg), #62c175 288.000deg, #73ed59 calc(288.000deg + 0.1deg), #73ed59 324.000deg, #8cff37 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/_gKfgLCgDogE4gIYgFMgIugHogI6hQJgGBgp_?style=angularSwatches&steps=10&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 -8.550,381.898
Z
" fill="#e24e1b" fill-opacity="1.000" /><path d="
M 400.000,200.000
L -8.550,381.898
A 447.214,447.214 0 0 1 -37.441,107.019
Z
" fill="#c8353b" fill-opacity="1.000" /><path d="
M 400.000,200.000
L -37.441,107.019
A 447.214,447.214 0 0 1 100.755,-132.345
Z
" fill="#aa2b5c" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 100.755,-132.345
A 447.214,447.214 0 0 1 353.253,-244.764
Z
" fill="#8c3178" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 353.253,-244.764
A 447.214,447.214 0 0 1 623.607,-187.299
Z
" fill="#72468a" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 623.607,-187.299
A 447.214,447.214 0 0 1 808.550,18.102
Z
" fill="#616890" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 808.550,18.102
A 447.214,447.214 0 0 1 837.441,292.981
Z
" fill="#5c9288" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 837.441,292.981
A 447.214,447.214 0 0 1 699.245,532.345
Z
" fill="#62c175" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 699.245,532.345
A 447.214,447.214 0 0 1 446.747,644.764
Z
" fill="#73ed59" fill-opacity="1.000" /><path d="
M 400.000,200.000
L 446.747,644.764
A 447.214,447.214 0 0 1 176.393,587.299
Z
" fill="#8cff37" fill-opacity="1.000" /></g>
</svg>
["#e24e1b", "#c8353b", "#aa2b5c", "#8c3178", "#72468a", "#616890", "#5c9288", "#62c175", "#73ed59", "#8cff37"]
// https://grabient.com/_gKfgLCgDogE4gIYgFMgIugHogI6hQJgGBgp_?style=angularSwatches&steps=10&angle=210
// cosine gradient palette — https://iquilezles.org/articles/palettes/
const float STEPS = 10.0;
const float ANGLE = 210.0;
vec3 palette(float t) {
vec3 a = vec3(0.671, 0.706, 0.232);
vec3 b = vec3(0.312, 0.536, 0.332);
vec3 c = vec3(0.558, 0.488, 0.570);
vec3 d = vec3(5.129, 0.385, 2.687);
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.671, 0.706, 0.232],
[0.312, 0.536, 0.332],
[0.558, 0.488, 0.570],
[5.129, 0.385, 2.687]
]