/* https://grabient.com/_gJMgJugKAgFugHpgJBgGggEdgFJgITgIYgIDgAv138mg?style=linearGradient&steps=34&angle=0 */
background: linear-gradient(0deg, #efffff 0.000%, #f2ffff 3.030%, #f4ffff 6.061%, #f4ffff 9.091%, #f3ffff 12.121%, #f1ffff 15.152%, #edffff 18.182%, #e8ffff 21.212%, #e2ffff 24.242%, #dbffff 27.273%, #d2ffff 30.303%, #c9ffff 33.333%, #bfffff 36.364%, #b4f8ff 39.394%, #a9f1ff 42.424%, #9ee9f3 45.455%, #92e0e7 48.485%, #87d7da 51.515%, #7ccdcc 54.545%, #71c3be 57.576%, #67b9b0 60.606%, #5dafa2 63.636%, #54a493 66.667%, #4d9a85 69.697%, #468f77 72.727%, #40856a 75.758%, #3c7b5d 78.788%, #397151 81.818%, #386745 84.848%, #375e3b 87.879%, #395531 90.909%, #3b4d28 93.939%, #3f4521 96.970%, #443e1a 100.000%);
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="400" viewBox="0 0 800 400" preserveAspectRatio="none">
<!-- https://grabient.com/_gJMgJugKAgFugHpgJBgGggEdgFJgITgIYgIDgAv138mg?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="#efffff" /><stop offset="0.030" stop-color="#f2ffff" /><stop offset="0.061" stop-color="#f4ffff" /><stop offset="0.091" stop-color="#f4ffff" /><stop offset="0.121" stop-color="#f3ffff" /><stop offset="0.152" stop-color="#f1ffff" /><stop offset="0.182" stop-color="#edffff" /><stop offset="0.212" stop-color="#e8ffff" /><stop offset="0.242" stop-color="#e2ffff" /><stop offset="0.273" stop-color="#dbffff" /><stop offset="0.303" stop-color="#d2ffff" /><stop offset="0.333" stop-color="#c9ffff" /><stop offset="0.364" stop-color="#bfffff" /><stop offset="0.394" stop-color="#b4f8ff" /><stop offset="0.424" stop-color="#a9f1ff" /><stop offset="0.455" stop-color="#9ee9f3" /><stop offset="0.485" stop-color="#92e0e7" /><stop offset="0.515" stop-color="#87d7da" /><stop offset="0.545" stop-color="#7ccdcc" /><stop offset="0.576" stop-color="#71c3be" /><stop offset="0.606" stop-color="#67b9b0" /><stop offset="0.636" stop-color="#5dafa2" /><stop offset="0.667" stop-color="#54a493" /><stop offset="0.697" stop-color="#4d9a85" /><stop offset="0.727" stop-color="#468f77" /><stop offset="0.758" stop-color="#40856a" /><stop offset="0.788" stop-color="#3c7b5d" /><stop offset="0.818" stop-color="#397151" /><stop offset="0.848" stop-color="#386745" /><stop offset="0.879" stop-color="#375e3b" /><stop offset="0.909" stop-color="#395531" /><stop offset="0.939" stop-color="#3b4d28" /><stop offset="0.970" stop-color="#3f4521" /><stop offset="1.000" stop-color="#443e1a" />
</linearGradient>
</defs>
<rect x="0" y="0" width="800" height="400" fill="url(#gradient)" />
</svg>
["#efffff", "#f2ffff", "#f4ffff", "#f4ffff", "#f3ffff", "#f1ffff", "#edffff", "#e8ffff", "#e2ffff", "#dbffff", "#d2ffff", "#c9ffff", "#bfffff", "#b4f8ff", "#a9f1ff", "#9ee9f3", "#92e0e7", "#87d7da", "#7ccdcc", "#71c3be", "#67b9b0", "#5dafa2", "#54a493", "#4d9a85", "#468f77", "#40856a", "#3c7b5d", "#397151", "#386745", "#375e3b", "#395531", "#3b4d28", "#3f4521", "#443e1a"]
// https://grabient.com/_gJMgJugKAgFugHpgJBgGggEdgFJgITgIYgIDgAv138mg?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(0.947, 0.952, 0.931);
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],
[0.947, 0.952, 0.931]
]