# Blue, magenta, red, and green

Rainbow from blue to teal gradient with 6 colors: #356fd0, #6947c3, #be3c9b, #ea4452, #3fb65d, #26b7b4. Edit it and copy or download CSS, SVG, PNG or shader code.

- Also called: Rainbow from blue to teal gradient
- Seed: `kYjXa5QENDklGRdQSUS17xPFopxS`
- Page: https://grabient.com/kYjXa5QENDklGRdQSUS17xPFopxS?steps=6&angle=135
- Drawn as: linear gradient, 6 steps, 135 degrees
- Kinds: vivid, rainbow
- Hues: two-hue
- Contrast of its darkest and lightest colors: 2.5 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 | `#356fd0` | `oklch(55.51% 0.1626 260.16)` | Han Blue | white, 4.8 to 1 |
| 2 | `#6947c3` | `oklch(50.39% 0.1846 290.80)` | Waiporoporo Purple | white, 6.3 to 1 |
| 3 | `#be3c9b` | `oklch(57.48% 0.1929 340.47)` | Byzantine | white, 4.8 to 1 |
| 4 | `#ea4452` | `oklch(62.99% 0.2012 20.63)` | Watermelonade | black, 5.4 to 1 |
| 5 | `#3fb65d` | `oklch(68.90% 0.1654 148.49)` | Artificial Turf | black, 8 to 1 |
| 6 | `#26b7b4` | `oklch(70.87% 0.1144 192.88)` | Caicos Turquoise | black, 8.5 to 1 |

## CSS

```css
background: linear-gradient(135deg, #356fd0 0.0%, #6947c3 20.0%, #be3c9b 40.0%, #ea4452 60.0%, #3fb65d 80.0%, #26b7b4 100.0%);
background: linear-gradient(135deg in oklch, oklch(55.51% 0.1626 260.16) 0.0%, oklch(50.39% 0.1846 290.80) 20.0%, oklch(57.48% 0.1929 340.47) 40.0%, oklch(62.99% 0.2012 20.63) 60.0%, oklch(68.90% 0.1654 148.49) 80.0%, oklch(70.87% 0.1144 192.88) 100.0%);
```

## Keyframes

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

| Keyframe | Lightness | Chroma | Hue |
| --- | --- | --- | --- |
| 1 | 0.555 | 0.163 | 260.2 |
| 2 | 0.504 | 0.185 | 290.8 |
| 3 | 0.575 | 0.193 | 340.5 |
| 4 | 0.63 | 0.201 | 380.6 |
| 5 | 0.689 | 0.165 | 508.5 |
| 6 | 0.709 | 0.114 | 552.9 |

## In these collections

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

## Other forms

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