/* https://grabient.com/_gH6gGAgGLgE6gE0gE-gMVgLQgNJf-BgKwgIV?style=radialGradient&steps=21&angle=90 */
background: radial-gradient(circle at 50% 50%, #b94415 0.000%, #c5551c 5.000%, #cd6729 10.000%, #d17839 15.000%, #d0894c 20.000%, #c99761 25.000%, #bfa377 30.000%, #b0ab8b 35.000%, #9fb09c 40.000%, #8cb0aa 45.000%, #78adb2 50.000%, #65a6b6 55.000%, #539bb4 60.000%, #458eac 65.000%, #3a7e9f 70.000%, #336d8f 75.000%, #315b7b 80.000%, #344a66 85.000%, #3c3a51 90.000%, #482b3d 95.000%, #57202c 100.000%);
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="400" viewBox="0 0 800 400" preserveAspectRatio="none">
<!-- https://grabient.com/_gH6gGAgGLgE6gE0gE-gMVgLQgNJf-BgKwgIV?style=radialGradient&steps=21&angle=90 -->
<defs>
<radialGradient id="radial" gradientUnits="userSpaceOnUse" cx="400.000" cy="200.000" r="447.214">
<stop offset="0.000" stop-color="#b94415" /><stop offset="0.050" stop-color="#c5551c" /><stop offset="0.100" stop-color="#cd6729" /><stop offset="0.150" stop-color="#d17839" /><stop offset="0.200" stop-color="#d0894c" /><stop offset="0.250" stop-color="#c99761" /><stop offset="0.300" stop-color="#bfa377" /><stop offset="0.350" stop-color="#b0ab8b" /><stop offset="0.400" stop-color="#9fb09c" /><stop offset="0.450" stop-color="#8cb0aa" /><stop offset="0.500" stop-color="#78adb2" /><stop offset="0.550" stop-color="#65a6b6" /><stop offset="0.600" stop-color="#539bb4" /><stop offset="0.650" stop-color="#458eac" /><stop offset="0.700" stop-color="#3a7e9f" /><stop offset="0.750" stop-color="#336d8f" /><stop offset="0.800" stop-color="#315b7b" /><stop offset="0.850" stop-color="#344a66" /><stop offset="0.900" stop-color="#3c3a51" /><stop offset="0.950" stop-color="#482b3d" /><stop offset="1.000" stop-color="#57202c" />
</radialGradient>
</defs>
<rect x="0" y="0" width="800" height="400" fill="url(#radial)" />
</svg>
["#b94415", "#c5551c", "#cd6729", "#d17839", "#d0894c", "#c99761", "#bfa377", "#b0ab8b", "#9fb09c", "#8cb0aa", "#78adb2", "#65a6b6", "#539bb4", "#458eac", "#3a7e9f", "#336d8f", "#315b7b", "#344a66", "#3c3a51", "#482b3d", "#57202c"]
// https://grabient.com/_gH6gGAgGLgE6gE0gE-gMVgLQgNJf-BgKwgIV?style=radialGradient&steps=21&angle=90
// cosine gradient palette — https://iquilezles.org/articles/palettes/
const float STEPS = 21.0;
vec3 palette(float t) {
vec3 a = vec3(0.506, 0.384, 0.395);
vec3 b = vec3(0.314, 0.308, 0.318);
vec3 c = vec3(0.789, 0.720, 0.841);
vec3 d = vec3(-0.127, 0.688, 0.533);
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;
// circle to the farthest corner (CSS default)
float t = length(p) / length(0.5 * iResolution.xy);
fragColor = vec4(stops(t), 1.0);
}
[
[0.506, 0.384, 0.395],
[0.314, 0.308, 0.318],
[0.789, 0.720, 0.841],
[-0.127, 0.688, 0.533]
]