/* https://grabient.com/_gH4gFTgCOgEjgDGgAxgLFgQCgRDgKrgI3gDH?style=angularGradient&steps=8&angle=225 */
background: conic-gradient(from 225deg, #622828 0.000deg, #904b1d 51.429deg, #b87718 102.857deg, #ca891e 154.286deg, #c0732a 205.714deg, #9c4731 257.143deg, #6e272d 308.571deg, #472c21 360.000deg);
<svg width="800" height="400" viewBox="0 0 800 400" fill="none" xmlns="http://www.w3.org/2000/svg">
<!-- https://grabient.com/_gH4gFTgCOgEjgDGgAxgLFgQCgRDgKrgI3gDH?style=angularGradient&steps=8&angle=225 -->
<g clip-path="url(#paint0_angular_clip_path)" data-figma-skip-parse="true"><g transform="matrix(-0.139677 0.139677 -0.139677 -0.139677 400.000000 200.000000)"><foreignObject x="-2264" y="-2264" width="4528" height="4528"><div xmlns="http://www.w3.org/1999/xhtml" style="background:conic-gradient(from 90deg,rgba(98, 40, 40, 1) 0.000000deg,rgba(144, 75, 29, 1) 51.428571deg,rgba(184, 119, 24, 1) 102.857143deg,rgba(202, 137, 30, 1) 154.285714deg,rgba(192, 115, 42, 1) 205.714286deg,rgba(156, 71, 49, 1) 257.142857deg,rgba(110, 39, 45, 1) 308.571429deg,rgba(71, 44, 33, 1) 360.000000deg);height:100%;width:100%;opacity:1"></div></foreignObject></g></g><rect width="800" height="400" data-figma-gradient-fill="{"type":"GRADIENT_ANGULAR","stops":[{"color":{"r":0.3843137254901961,"g":0.1568627450980392,"b":0.1568627450980392,"a":1},"position":0},{"color":{"r":0.5647058823529412,"g":0.29411764705882354,"b":0.11372549019607843,"a":1},"position":0.14285714285714285},{"color":{"r":0.7215686274509804,"g":0.4666666666666667,"b":0.09411764705882353,"a":1},"position":0.2857142857142857},{"color":{"r":0.792156862745098,"g":0.5372549019607843,"b":0.11764705882352941,"a":1},"position":0.42857142857142855},{"color":{"r":0.7529411764705882,"g":0.45098039215686275,"b":0.16470588235294117,"a":1},"position":0.5714285714285714},{"color":{"r":0.611764705882353,"g":0.2784313725490196,"b":0.19215686274509805,"a":1},"position":0.7142857142857143},{"color":{"r":0.43137254901960786,"g":0.15294117647058825,"b":0.17647058823529413,"a":1},"position":0.8571428571428571},{"color":{"r":0.2784313725490196,"g":0.17254901960784313,"b":0.12941176470588237,"a":1},"position":1}],"stopsVar":[{"color":{"r":0.3843137254901961,"g":0.1568627450980392,"b":0.1568627450980392,"a":1},"position":0},{"color":{"r":0.5647058823529412,"g":0.29411764705882354,"b":0.11372549019607843,"a":1},"position":0.14285714285714285},{"color":{"r":0.7215686274509804,"g":0.4666666666666667,"b":0.09411764705882353,"a":1},"position":0.2857142857142857},{"color":{"r":0.792156862745098,"g":0.5372549019607843,"b":0.11764705882352941,"a":1},"position":0.42857142857142855},{"color":{"r":0.7529411764705882,"g":0.45098039215686275,"b":0.16470588235294117,"a":1},"position":0.5714285714285714},{"color":{"r":0.611764705882353,"g":0.2784313725490196,"b":0.19215686274509805,"a":1},"position":0.7142857142857143},{"color":{"r":0.43137254901960786,"g":0.15294117647058825,"b":0.17647058823529413,"a":1},"position":0.8571428571428571},{"color":{"r":0.2784313725490196,"g":0.17254901960784313,"b":0.12941176470588237,"a":1},"position":1}],"transform":{"m00":-565.685425,"m01":-565.685425,"m02":965.685425,"m10":565.685425,"m11":-565.685425,"m12":200.000000},"opacity":1.0,"blendMode":"NORMAL","visible":true}"/>
<defs>
<clipPath id="paint0_angular_clip_path"><rect width="800" height="400"/></clipPath>
</defs>
</svg>
["#622828", "#904b1d", "#b87718", "#ca891e", "#c0732a", "#9c4731", "#6e272d", "#472c21"]
// https://grabient.com/_gH4gFTgCOgEjgDGgAxgLFgQCgRDgKrgI3gDH?style=angularGradient&steps=8&angle=225
// cosine gradient palette — https://iquilezles.org/articles/palettes/
const float STEPS = 8.0;
const float ANGLE = 225.0;
vec3 palette(float t) {
vec3 a = vec3(0.504, 0.339, 0.142);
vec3 b = vec3(0.291, 0.198, 0.049);
vec3 c = vec3(0.709, 1.026, 1.091);
vec3 d = vec3(0.683, 0.567, 0.199);
return a + b * cos(6.283185 * (c * t + d));
}
// N stops sampled from the palette, blended like the CSS gradient
vec3 stops(float t) {
float n = STEPS - 1.0;
float x = clamp(t, 0.0, 1.0) * n;
return mix(palette(floor(x) / n), palette(min(floor(x) + 1.0, n) / n), fract(x));
}
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.504, 0.339, 0.142],
[0.291, 0.198, 0.049],
[0.709, 1.026, 1.091],
[0.683, 0.567, 0.199]
]