# Moss green to burgundy rainbow

Rainbow gradient with 7 colors: #3b5919, #419552, #008eb5, #7756d7, #981a7e, #8e3e1c, #b3e65c. Edit it and copy or download CSS, SVG, PNG or shader code.

- Also called: Rainbow gradient
- Seed: `kYbEZdTzFDEm2zBCzcbNSrH-2_y-`
- Page: https://grabient.com/kYbEZdTzFDEm2zBCzcbNSrH-2_y-
- Drawn as: linear gradient, 7 steps, 90 degrees
- Kinds: vivid, rainbow
- Hues: complementary
- Contrast of its darkest and lightest colors: 5.4 to 1

## Colors

The name most people give each color, and the text color that reads on it with its contrast.

| Stop | Hex | OKLCH | Name | Text on it |
| --- | --- | --- | --- | --- |
| 1 | `#3b5919` | `oklch(42.52% 0.0965 130.78)` | Lustrian Undergrowth | white, 8 to 1 |
| 2 | `#419552` | `oklch(60.09% 0.1295 148.09)` | Discover Deco | black, 5.6 to 1 |
| 3 | `#008eb5` | `oklch(60.30% 0.1153 226.02)` | Spinnaker Blue | black, 5.5 to 1 |
| 4 | `#7756d7` | `oklch(55.51% 0.1889 290.95)` | Astro Purple | white, 5.1 to 1 |
| 5 | `#981a7e` | `oklch(47.16% 0.1876 338.41)` | Haunted Purple | white, 7.5 to 1 |
| 6 | `#8e3e1c` | `oklch(46.47% 0.1185 41.58)` | Chocolate Covered | white, 7.3 to 1 |
| 7 | `#b3e65c` | `oklch(86.22% 0.1750 126.91)` | Inchworm | black, 14.3 to 1 |

## CSS

```css
background: linear-gradient(90deg, #3b5919 0.0%, #419552 16.7%, #008eb5 33.3%, #7756d7 50.0%, #981a7e 66.7%, #8e3e1c 83.3%, #b3e65c 100.0%);
background: linear-gradient(90deg in oklch, oklch(42.52% 0.0965 130.78) 0.0%, oklch(60.09% 0.1295 148.09) 16.7%, oklch(60.30% 0.1153 226.02) 33.3%, oklch(55.51% 0.1889 290.95) 50.0%, oklch(47.16% 0.1876 338.41) 66.7%, oklch(46.47% 0.1185 41.58) 83.3%, oklch(86.22% 0.1750 126.91) 100.0%);
```

## Keyframes

6 OKLCH keyframes joined by a Catmull-Rom spline. Hue is unwrapped degrees.

| Keyframe | Lightness | Chroma | Hue |
| --- | --- | --- | --- |
| 1 | 0.425 | 0.096 | 130.8 |
| 2 | 0.622 | 0.135 | 157.2 |
| 3 | 0.579 | 0.15 | 259.7 |
| 4 | 0.524 | 0.214 | 317.8 |
| 5 | 0.417 | 0.117 | 385.5 |
| 6 | 0.862 | 0.175 | 486.9 |

## In these collections

- [Rainbow loop gradients](https://grabient.com/rainbow-loop-gradients)

## Other forms

- [JSON](https://grabient.com/kYbEZdTzFDEm2zBCzcbNSrH-2_y-.json)
- [PNG](https://grabient.com/kYbEZdTzFDEm2zBCzcbNSrH-2_y-.png)
- [SVG](https://grabient.com/kYbEZdTzFDEm2zBCzcbNSrH-2_y-.svg)
- [CSS](https://grabient.com/kYbEZdTzFDEm2zBCzcbNSrH-2_y-.css)
- [ASE](https://grabient.com/kYbEZdTzFDEm2zBCzcbNSrH-2_y-.ase)
- [GPL](https://grabient.com/kYbEZdTzFDEm2zBCzcbNSrH-2_y-.gpl)
- [GRD](https://grabient.com/kYbEZdTzFDEm2zBCzcbNSrH-2_y-.grd)
- [Design tokens](https://grabient.com/kYbEZdTzFDEm2zBCzcbNSrH-2_y-.tokens.json)
- [Social card](https://grabient.com/api/og?seed=kYbEZdTzFDEm2zBCzcbNSrH-2_y-)
- [Palettes like this one](https://grabient.com/palettes?q=kYbEZdTzFDEm2zBCzcbNSrH-2_y-)
- [Guide for agents](https://grabient.com/llms.txt)
