/* https://grabient.com/_gJMgKAgJugFugJBgHpgGggFJgEdgITgIDgIYgAv138o7?style=linearGradient&steps=34&angle=0 */
background: linear-gradient(0deg, #e2ffff 0.000%, #dafffb 3.030%, #d2fff3 6.061%, #c9ffeb 9.091%, #bffde2 12.121%, #b4f1d9 15.152%, #a9e5d0 18.182%, #9ed8c6 21.212%, #92cabc 24.242%, #87bcb2 27.273%, #7baea7 30.303%, #719f9d 33.333%, #669192 36.364%, #5d8388 39.394%, #54757d 42.424%, #4c6873 45.455%, #465b6a 48.485%, #404f60 51.515%, #3c4458 54.545%, #39394f 57.576%, #382f47 60.606%, #382740 63.636%, #392039 66.667%, #3b1a33 69.697%, #3f152e 72.727%, #45112a 75.758%, #4b0f26 78.788%, #520e23 81.818%, #5b0f22 84.848%, #641121 87.879%, #6e1420 90.909%, #791821 93.939%, #841e23 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/_gJMgKAgJugFugJBgHpgGggFJgEdgITgIDgIYgAv138o7?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="#dafffb" /><stop offset="0.061" stop-color="#d2fff3" /><stop offset="0.091" stop-color="#c9ffeb" /><stop offset="0.121" stop-color="#bffde2" /><stop offset="0.152" stop-color="#b4f1d9" /><stop offset="0.182" stop-color="#a9e5d0" /><stop offset="0.212" stop-color="#9ed8c6" /><stop offset="0.242" stop-color="#92cabc" /><stop offset="0.273" stop-color="#87bcb2" /><stop offset="0.303" stop-color="#7baea7" /><stop offset="0.333" stop-color="#719f9d" /><stop offset="0.364" stop-color="#669192" /><stop offset="0.394" stop-color="#5d8388" /><stop offset="0.424" stop-color="#54757d" /><stop offset="0.455" stop-color="#4c6873" /><stop offset="0.485" stop-color="#465b6a" /><stop offset="0.515" stop-color="#404f60" /><stop offset="0.545" stop-color="#3c4458" /><stop offset="0.576" stop-color="#39394f" /><stop offset="0.606" stop-color="#382f47" /><stop offset="0.636" stop-color="#382740" /><stop offset="0.667" stop-color="#392039" /><stop offset="0.697" stop-color="#3b1a33" /><stop offset="0.727" stop-color="#3f152e" /><stop offset="0.758" stop-color="#45112a" /><stop offset="0.788" stop-color="#4b0f26" /><stop offset="0.818" stop-color="#520e23" /><stop offset="0.848" stop-color="#5b0f22" /><stop offset="0.879" stop-color="#641121" /><stop offset="0.909" stop-color="#6e1420" /><stop offset="0.939" stop-color="#791821" /><stop offset="0.970" stop-color="#841e23" /><stop offset="1.000" stop-color="#902525" />
</linearGradient>
</defs>
<rect x="0" y="0" width="800" height="400" fill="url(#gradient)" />
</svg>
["#e2ffff", "#dafffb", "#d2fff3", "#c9ffeb", "#bffde2", "#b4f1d9", "#a9e5d0", "#9ed8c6", "#92cabc", "#87bcb2", "#7baea7", "#719f9d", "#669192", "#5d8388", "#54757d", "#4c6873", "#465b6a", "#404f60", "#3c4458", "#39394f", "#382f47", "#382740", "#392039", "#3b1a33", "#3f152e", "#45112a", "#4b0f26", "#520e23", "#5b0f22", "#641121", "#6e1420", "#791821", "#841e23", "#902525"]
// https://grabient.com/_gJMgKAgJugFugJBgHpgGggFJgEdgITgIDgIYgAv138o7?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.640, 0.622);
vec3 b = vec3(0.371, 0.585, 0.495);
vec3 c = vec3(0.637, 0.504, 0.437);
vec3 d = vec3(1.102, 1.086, 1.107);
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.640, 0.622],
[0.371, 0.585, 0.495],
[0.637, 0.504, 0.437],
[1.102, 1.086, 1.107]
]