# Rainbow linear gradient

Rainbow linear gradient with 8 colors: #273491, #582968, #944045, #b86e40, #af9d56, #80b37d, #46a5a5, #2f7cbd. Edit it and copy or download CSS, SVG, PNG or shader code.

- Seed: `kcYG_Ar6nFb2pRzNqMPWKJFNsiRZUoEYyK3GA`
- Page: https://grabient.com/kcYG_Ar6nFb2pRzNqMPWKJFNsiRZUoEYyK3GA?steps=8
- Drawn as: linear gradient, 8 steps, 90 degrees
- Kinds: light center, rainbow
- Hues: two-hue
- Contrast of its darkest and lightest colors: 4.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 | `#273491` | `oklch(37.80% 0.1530 270.70)` | Royal Night | white, 10.5 to 1 |
| 2 | `#582968` | `oklch(37.40% 0.1144 317.20)` | Elegant Purple Gown | white, 10.8 to 1 |
| 3 | `#944045` | `oklch(48.43% 0.1130 18.49)` | Classic Cherry | white, 6.8 to 1 |
| 4 | `#b86e40` | `oklch(61.02% 0.1116 51.25)` | Dune Spice | black, 5.3 to 1 |
| 5 | `#af9d56` | `oklch(69.69% 0.0937 95.63)` | Spanish Gold | black, 7.7 to 1 |
| 6 | `#80b37d` | `oklch(71.65% 0.0937 143.19)` | Verde | black, 8.6 to 1 |
| 7 | `#46a5a5` | `oklch(66.54% 0.0882 196.03)` | Tidal Teal | black, 7.1 to 1 |
| 8 | `#2f7cbd` | `oklch(57.09% 0.1254 247.81)` | Amalfi Coast | black, 4.7 to 1 |

## CSS

```css
background: linear-gradient(90deg, #273491 0.0%, #582968 14.3%, #944045 28.6%, #b86e40 42.9%, #af9d56 57.1%, #80b37d 71.4%, #46a5a5 85.7%, #2f7cbd 100.0%);
background: linear-gradient(90deg in oklch, oklch(37.80% 0.1530 270.70) 0.0%, oklch(37.40% 0.1144 317.20) 14.3%, oklch(48.43% 0.1130 18.49) 28.6%, oklch(61.02% 0.1116 51.25) 42.9%, oklch(69.69% 0.0937 95.63) 57.1%, oklch(71.65% 0.0937 143.19) 71.4%, oklch(66.54% 0.0882 196.03) 85.7%, oklch(57.09% 0.1254 247.81) 100.0%);
```

## Keyframes

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

| Keyframe | Lightness | Chroma | Hue |
| --- | --- | --- | --- |
| 1 | 0.378 | 0.153 | 270.7 |
| 2 | 0.374 | 0.114 | 317.2 |
| 3 | 0.484 | 0.113 | 378.5 |
| 4 | 0.61 | 0.112 | 411.3 |
| 5 | 0.697 | 0.094 | 455.6 |
| 6 | 0.717 | 0.094 | 503.2 |
| 7 | 0.665 | 0.088 | 556 |
| 8 | 0.571 | 0.125 | 607.8 |

## In these collections

- [Indigo yukata](https://grabient.com/indigo-yukata)

## Other forms

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