/* https://grabient.com/_fwqgJdga_gfSgDNgYDgBhgGSgBkgPegKdgIu?style=linearSwatches&steps=21&angle=0 */
background: linear-gradient(0deg, #ff814a 0.000%, #ff814a 4.762%, #ff874e calc(4.762% + 1px), #ff874e 9.524%, #ff8d53 calc(9.524% + 1px), #ff8d53 14.286%, #ff9359 calc(14.286% + 1px), #ff9359 19.048%, #ff9a5e calc(19.048% + 1px), #ff9a5e 23.810%, #ffa164 calc(23.810% + 1px), #ffa164 28.571%, #ffa76a calc(28.571% + 1px), #ffa76a 33.333%, #fead71 calc(33.333% + 1px), #fead71 38.095%, #fcb378 calc(38.095% + 1px), #fcb378 42.857%, #f9b97f calc(42.857% + 1px), #f9b97f 47.619%, #f5be87 calc(47.619% + 1px), #f5be87 52.381%, #f1c38f calc(52.381% + 1px), #f1c38f 57.143%, #edc697 calc(57.143% + 1px), #edc697 61.905%, #e8ca9f calc(61.905% + 1px), #e8ca9f 66.667%, #e3cca8 calc(66.667% + 1px), #e3cca8 71.429%, #ddceb1 calc(71.429% + 1px), #ddceb1 76.190%, #d7ceba calc(76.190% + 1px), #d7ceba 80.952%, #d0cec4 calc(80.952% + 1px), #d0cec4 85.714%, #c9cece calc(85.714% + 1px), #c9cece 90.476%, #c2ccd8 calc(90.476% + 1px), #c2ccd8 95.238%, #bac9e2 calc(95.238% + 1px) 100.000%);
<svg xmlns="http://www.w3.org/2000/svg" width="800" height="400" viewBox="0 0 800 400" preserveAspectRatio="none">
<!-- https://grabient.com/_fwqgJdga_gfSgDNgYDgBhgGSgBkgPegKdgIu?style=linearSwatches&steps=21&angle=0 -->
<defs>
<clipPath id="bounds">
<rect x="0" y="0" width="800" height="400" />
</clipPath>
</defs>
<g clip-path="url(#bounds)"><path d="M 847.214,400.000 L -47.214,400.000 L -47.214,380.952 L 847.214,380.952 Z" fill="#ff814a" fill-opacity="1.000" /><path d="M 847.214,380.952 L -47.214,380.952 L -47.214,361.905 L 847.214,361.905 Z" fill="#ff874e" fill-opacity="1.000" /><path d="M 847.214,361.905 L -47.214,361.905 L -47.214,342.857 L 847.214,342.857 Z" fill="#ff8d53" fill-opacity="1.000" /><path d="M 847.214,342.857 L -47.214,342.857 L -47.214,323.810 L 847.214,323.810 Z" fill="#ff9359" fill-opacity="1.000" /><path d="M 847.214,323.810 L -47.214,323.810 L -47.214,304.762 L 847.214,304.762 Z" fill="#ff9a5e" fill-opacity="1.000" /><path d="M 847.214,304.762 L -47.214,304.762 L -47.214,285.714 L 847.214,285.714 Z" fill="#ffa164" fill-opacity="1.000" /><path d="M 847.214,285.714 L -47.214,285.714 L -47.214,266.667 L 847.214,266.667 Z" fill="#ffa76a" fill-opacity="1.000" /><path d="M 847.214,266.667 L -47.214,266.667 L -47.214,247.619 L 847.214,247.619 Z" fill="#fead71" fill-opacity="1.000" /><path d="M 847.214,247.619 L -47.214,247.619 L -47.214,228.571 L 847.214,228.571 Z" fill="#fcb378" fill-opacity="1.000" /><path d="M 847.214,228.571 L -47.214,228.571 L -47.214,209.524 L 847.214,209.524 Z" fill="#f9b97f" fill-opacity="1.000" /><path d="M 847.214,209.524 L -47.214,209.524 L -47.214,190.476 L 847.214,190.476 Z" fill="#f5be87" fill-opacity="1.000" /><path d="M 847.214,190.476 L -47.214,190.476 L -47.214,171.429 L 847.214,171.429 Z" fill="#f1c38f" fill-opacity="1.000" /><path d="M 847.214,171.429 L -47.214,171.429 L -47.214,152.381 L 847.214,152.381 Z" fill="#edc697" fill-opacity="1.000" /><path d="M 847.214,152.381 L -47.214,152.381 L -47.214,133.333 L 847.214,133.333 Z" fill="#e8ca9f" fill-opacity="1.000" /><path d="M 847.214,133.333 L -47.214,133.333 L -47.214,114.286 L 847.214,114.286 Z" fill="#e3cca8" fill-opacity="1.000" /><path d="M 847.214,114.286 L -47.214,114.286 L -47.214,95.238 L 847.214,95.238 Z" fill="#ddceb1" fill-opacity="1.000" /><path d="M 847.214,95.238 L -47.214,95.238 L -47.214,76.190 L 847.214,76.190 Z" fill="#d7ceba" fill-opacity="1.000" /><path d="M 847.214,76.190 L -47.214,76.190 L -47.214,57.143 L 847.214,57.143 Z" fill="#d0cec4" fill-opacity="1.000" /><path d="M 847.214,57.143 L -47.214,57.143 L -47.214,38.095 L 847.214,38.095 Z" fill="#c9cece" fill-opacity="1.000" /><path d="M 847.214,38.095 L -47.214,38.095 L -47.214,19.048 L 847.214,19.048 Z" fill="#c2ccd8" fill-opacity="1.000" /><path d="M 847.214,19.048 L -47.214,19.048 L -47.214,-0.000 L 847.214,0.000 Z" fill="#bac9e2" fill-opacity="1.000" /></g>
</svg>
["#ff814a", "#ff874e", "#ff8d53", "#ff9359", "#ff9a5e", "#ffa164", "#ffa76a", "#fead71", "#fcb378", "#f9b97f", "#f5be87", "#f1c38f", "#edc697", "#e8ca9f", "#e3cca8", "#ddceb1", "#d7ceba", "#d0cec4", "#c9cece", "#c2ccd8", "#bac9e2"]
// https://grabient.com/_fwqgJdga_gfSgDNgYDgBhgGSgBkgPegKdgIu?style=linearSwatches&steps=21&angle=0
// cosine gradient palette — https://iquilezles.org/articles/palettes/
const float STEPS = 21.0;
const float ANGLE = 0.0;
vec3 palette(float t) {
vec3 a = vec3(-0.982, 0.605, 1.727);
vec3 b = vec3(2.002, 0.205, 1.539);
vec3 c = vec3(0.097, 0.402, 0.100);
vec3 d = vec3(0.990, 0.669, 0.558);
return a + b * cos(6.283185 * (c * t + d));
}
// N hard swatches sampled from the palette
vec3 stops(float t) {
float i = min(floor(clamp(t, 0.0, 1.0) * STEPS), STEPS - 1.0);
return palette(i / (STEPS - 1.0));
}
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.982, 0.605, 1.727],
[2.002, 0.205, 1.539],
[0.097, 0.402, 0.100],
[0.990, 0.669, 0.558]
]