/* https://grabient.com/_gJMgJugKAgFugHpgJBgGggEdgFJgITgIYgIDgAv138o7?style=linearGradient&steps=34&angle=0 */
background: linear-gradient(0deg, #e2ffff 0.000%, #dafbff 3.030%, #d2f3ff 6.061%, #c9ebff 9.091%, #bfe2fd 12.121%, #b4d9f1 15.152%, #a9d0e5 18.182%, #9ec6d8 21.212%, #92bcca 24.242%, #87b2bc 27.273%, #7ba7ae 30.303%, #719d9f 33.333%, #669291 36.364%, #5d8883 39.394%, #547d75 42.424%, #4c7368 45.455%, #466a5b 48.485%, #40604f 51.515%, #3c5844 54.545%, #394f39 57.576%, #38472f 60.606%, #384027 63.636%, #393920 66.667%, #3b331a 69.697%, #3f2e15 72.727%, #452a11 75.758%, #4b260f 78.788%, #52230e 81.818%, #5b220f 84.848%, #642111 87.879%, #6e2014 90.909%, #792118 93.939%, #84231e 96.970%, #902525 100.000%);
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="400" viewBox="0 0 800 400" preserveAspectRatio="none">
<!-- https://grabient.com/_gJMgJugKAgFugHpgJBgGggEdgFJgITgIYgIDgAv138o7?style=linearGradient&steps=34&angle=0 -->
<defs>
<linearGradient id="gradient" x1="0.500" y1="1.000" x2="0.500" y2="0.000">
<stop offset="0.000" stop-color="#e2ffff" /><stop offset="0.030" stop-color="#dafbff" /><stop offset="0.061" stop-color="#d2f3ff" /><stop offset="0.091" stop-color="#c9ebff" /><stop offset="0.121" stop-color="#bfe2fd" /><stop offset="0.152" stop-color="#b4d9f1" /><stop offset="0.182" stop-color="#a9d0e5" /><stop offset="0.212" stop-color="#9ec6d8" /><stop offset="0.242" stop-color="#92bcca" /><stop offset="0.273" stop-color="#87b2bc" /><stop offset="0.303" stop-color="#7ba7ae" /><stop offset="0.333" stop-color="#719d9f" /><stop offset="0.364" stop-color="#669291" /><stop offset="0.394" stop-color="#5d8883" /><stop offset="0.424" stop-color="#547d75" /><stop offset="0.455" stop-color="#4c7368" /><stop offset="0.485" stop-color="#466a5b" /><stop offset="0.515" stop-color="#40604f" /><stop offset="0.545" stop-color="#3c5844" /><stop offset="0.576" stop-color="#394f39" /><stop offset="0.606" stop-color="#38472f" /><stop offset="0.636" stop-color="#384027" /><stop offset="0.667" stop-color="#393920" /><stop offset="0.697" stop-color="#3b331a" /><stop offset="0.727" stop-color="#3f2e15" /><stop offset="0.758" stop-color="#452a11" /><stop offset="0.788" stop-color="#4b260f" /><stop offset="0.818" stop-color="#52230e" /><stop offset="0.848" stop-color="#5b220f" /><stop offset="0.879" stop-color="#642111" /><stop offset="0.909" stop-color="#6e2014" /><stop offset="0.939" stop-color="#792118" /><stop offset="0.970" stop-color="#84231e" /><stop offset="1.000" stop-color="#902525" />
</linearGradient>
</defs>
<rect x="0" y="0" width="800" height="400" fill="url(#gradient)" />
</svg>
["#e2ffff", "#dafbff", "#d2f3ff", "#c9ebff", "#bfe2fd", "#b4d9f1", "#a9d0e5", "#9ec6d8", "#92bcca", "#87b2bc", "#7ba7ae", "#719d9f", "#669291", "#5d8883", "#547d75", "#4c7368", "#466a5b", "#40604f", "#3c5844", "#394f39", "#38472f", "#384027", "#393920", "#3b331a", "#3f2e15", "#452a11", "#4b260f", "#52230e", "#5b220f", "#642111", "#6e2014", "#792118", "#84231e", "#902525"]
// https://grabient.com/_gJMgJugKAgFugHpgJBgGggEdgFJgITgIYgIDgAv138o7?style=linearGradient&steps=34&angle=0
// cosine gradient palette — https://iquilezles.org/articles/palettes/
const float STEPS = 34.0;
const float ANGLE = 0.0;
vec3 palette(float t) {
vec3 a = vec3(0.588, 0.622, 0.640);
vec3 b = vec3(0.371, 0.495, 0.585);
vec3 c = vec3(0.637, 0.437, 0.504);
vec3 d = vec3(1.102, 1.107, 1.086);
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;
// CSS angle: 0 = up, clockwise; span = CSS gradient-line length
vec2 dir = vec2(sin(radians(ANGLE)), cos(radians(ANGLE)));
float len = abs(iResolution.x * dir.x) + abs(iResolution.y * dir.y);
float t = dot(p, dir) / len + 0.5;
fragColor = vec4(stops(t), 1.0);
}
[
[0.588, 0.622, 0.640],
[0.371, 0.495, 0.585],
[0.637, 0.437, 0.504],
[1.102, 1.107, 1.086]
]